summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorconankzhang <conankzhang@gmail.com>2019-10-30 03:19:08 -0700
committerconankzhang <conankzhang@gmail.com>2019-10-30 03:19:08 -0700
commit29844a58624eadd904a48e359c0414094d1307e9 (patch)
treedf0745556bd94a0d35114a5878c1a46735478c36 /doc
parentd749b738ad3f49107ec061dfa3679b14238ff681 (diff)
Add descriptions to scale functions.
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/Spatial.xml3
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">