aboutsummaryrefslogtreecommitdiff
path: root/doc/base
diff options
context:
space:
mode:
authorRémi Verschelde2016-08-29 19:04:24 +0200
committerGitHub2016-08-29 19:04:24 +0200
commit835ee75d578913fc60c35f16a7d7bc5182c85cd0 (patch)
tree295d2630c23c967146bee7c461c55f57188a4a77 /doc/base
parentecaa8844ca4dd824a848870f59aac03958e97549 (diff)
parentc402ac13df1a945336faa009b469ac4f0528770f (diff)
downloadgodot-835ee75d578913fc60c35f16a7d7bc5182c85cd0.tar.gz
godot-835ee75d578913fc60c35f16a7d7bc5182c85cd0.tar.zst
godot-835ee75d578913fc60c35f16a7d7bc5182c85cd0.zip
Merge pull request #6159 from touilleMan/issue-6148
Add Node2d global rot/rotd/scale methods
Diffstat (limited to 'doc/base')
-rw-r--r--doc/base/classes.xml42
1 files changed, 42 insertions, 0 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index 9c6b9742b..157bb0f57 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -22349,6 +22349,27 @@
Return the global position of the 2D node.
</description>
</method>
+ <method name="get_global_rot" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ Return the global rotation in radians of the 2D node.
+ </description>
+ </method>
+ <method name="get_global_rotd" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ Return the global rotation in degrees of the 2D node.
+ </description>
+ </method>
+ <method name="get_global_scale" qualifiers="const">
+ <return type="Vector2">
+ </return>
+ <description>
+ Return the global scale of the 2D node.
+ </description>
+ </method>
<method name="get_pos" qualifiers="const">
<return type="Vector2">
</return>
@@ -22452,6 +22473,27 @@
Set the global position of the 2D node to 'pos'.
</description>
</method>
+ <method name="set_global_rot">
+ <argument index="0" name="radians" type="float">
+ </argument>
+ <description>
+ Set the global rotation in radians of the 2D node.
+ </description>
+ </method>
+ <method name="set_global_rotd">
+ <argument index="0" name="degrees" type="float">
+ </argument>
+ <description>
+ Set the global rotation in degrees of the 2D node.
+ </description>
+ </method>
+ <method name="set_global_scale">
+ <argument index="0" name="scale" type="Vector2">
+ </argument>
+ <description>
+ Set the global scale of the 2D node.
+ </description>
+ </method>
<method name="set_global_transform">
<argument index="0" name="xform" type="Matrix32">
</argument>