diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-10-30 13:25:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-30 13:25:51 +0100 |
commit | 924db5fa58ab28912857029ec8dd34fbde771550 (patch) | |
tree | 75e392e0a7e4d6905e084e9d598a2a9519e808e8 | |
parent | 9e1be8f8aa77cfae3b01a6deabc3d0525e514c32 (diff) | |
parent | 29844a58624eadd904a48e359c0414094d1307e9 (diff) |
Merge pull request #33176 from conankzhang/doc-spatial-scale
Add descriptions to scale functions.
-rw-r--r-- | doc/classes/Spatial.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/Spatial.xml b/doc/classes/Spatial.xml index 09a5bf3b8f..128aa93f15 100644 --- a/doc/classes/Spatial.xml +++ b/doc/classes/Spatial.xml @@ -48,6 +48,7 @@ <argument index="0" name="scale" type="Vector3"> </argument> <description> + Scales the global (world) transformation by the given [Vector3] scale factors. </description> </method> <method name="global_translate"> @@ -77,6 +78,7 @@ <return type="bool"> </return> <description> + Returns whether this node uses a scale of [code](1, 1, 1)[/code] or its local transformation scale. </description> </method> <method name="is_set_as_toplevel" qualifiers="const"> @@ -206,6 +208,7 @@ <argument index="0" name="disable" type="bool"> </argument> <description> + Sets whether the node uses a scale of [code](1, 1, 1)[/code] or its local transformation scale. Changes to the local transformation scale are preserved. </description> </method> <method name="set_identity"> |