summaryrefslogtreecommitdiff
path: root/doc/classes/Spatial.xml
diff options
context:
space:
mode:
authorPoommetee Ketson <poommetee@protonmail.com>2017-11-11 13:27:02 +0700
committerGitHub <noreply@github.com>2017-11-11 13:27:02 +0700
commitaca18b6a4929554bac5936a83a6e5c5fd0419b8f (patch)
tree3db9e1a48660bc5c91f6bd1826373435d1910b12 /doc/classes/Spatial.xml
parent9bbcc96b706127aef60adfcf08494ac1fde38a00 (diff)
parent482e07af7e5c8b85463f950036dc7b14cb8cd3b4 (diff)
Merge pull request #12806 from letheed/unify-degrees
Unify degree methods and properties
Diffstat (limited to 'doc/classes/Spatial.xml')
-rw-r--r--doc/classes/Spatial.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/classes/Spatial.xml b/doc/classes/Spatial.xml
index 38e971b6bd..07f5ea5301 100644
--- a/doc/classes/Spatial.xml
+++ b/doc/classes/Spatial.xml
@@ -39,7 +39,7 @@
Returns the rotation (in radians).
</description>
</method>
- <method name="get_rotation_deg" qualifiers="const">
+ <method name="get_rotation_degrees" qualifiers="const">
<return type="Vector3">
</return>
<description>
@@ -267,16 +267,16 @@
<method name="set_rotation">
<return type="void">
</return>
- <argument index="0" name="rotation_rad" type="Vector3">
+ <argument index="0" name="radians" type="Vector3">
</argument>
<description>
Set the rotation (in radians).
</description>
</method>
- <method name="set_rotation_deg">
+ <method name="set_rotation_degrees">
<return type="void">
</return>
- <argument index="0" name="rotation_deg" type="Vector3">
+ <argument index="0" name="degrees" type="Vector3">
</argument>
<description>
Set the rotation (in degrees).
@@ -365,7 +365,7 @@
<member name="rotation" type="Vector3" setter="set_rotation" getter="get_rotation">
Local euler rotation in radians of this node.
</member>
- <member name="rotation_deg" type="Vector3" setter="set_rotation_deg" getter="get_rotation_deg">
+ <member name="rotation_degrees" type="Vector3" setter="set_rotation_degrees" getter="get_rotation_degrees">
Local euler rotation in degrees of this node.
</member>
<member name="scale" type="Vector3" setter="set_scale" getter="get_scale">