Skip to content

Commit

Permalink
Merge pull request #33176 from conankzhang/doc-spatial-scale
Browse files Browse the repository at this point in the history
Add descriptions to scale functions.
  • Loading branch information
akien-mga authored Oct 30, 2019
2 parents 9e1be8f + 29844a5 commit 924db5f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/classes/Spatial.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down Expand Up @@ -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">
Expand Down Expand Up @@ -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">
Expand Down

0 comments on commit 924db5f

Please sign in to comment.