Browse Source

Add descriptions to scale functions.

conankzhang 5 years ago
parent
commit
29844a5862
1 changed files with 3 additions and 0 deletions
  1. 3 0
      doc/classes/Spatial.xml

+ 3 - 0
doc/classes/Spatial.xml

@@ -48,6 +48,7 @@
 			<argument index="0" name="scale" type="Vector3">
 			<argument index="0" name="scale" type="Vector3">
 			</argument>
 			</argument>
 			<description>
 			<description>
+				Scales the global (world) transformation by the given [Vector3] scale factors.
 			</description>
 			</description>
 		</method>
 		</method>
 		<method name="global_translate">
 		<method name="global_translate">
@@ -77,6 +78,7 @@
 			<return type="bool">
 			<return type="bool">
 			</return>
 			</return>
 			<description>
 			<description>
+				Returns whether this node uses a scale of [code](1, 1, 1)[/code] or its local transformation scale.
 			</description>
 			</description>
 		</method>
 		</method>
 		<method name="is_set_as_toplevel" qualifiers="const">
 		<method name="is_set_as_toplevel" qualifiers="const">
@@ -206,6 +208,7 @@
 			<argument index="0" name="disable" type="bool">
 			<argument index="0" name="disable" type="bool">
 			</argument>
 			</argument>
 			<description>
 			<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>
 			</description>
 		</method>
 		</method>
 		<method name="set_identity">
 		<method name="set_identity">