1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-06 19:41:11 +00:00

Add Node2D's set_global_rot get_global_rot set_global_rotd get_global_rotd set_global_scale get_global_scale methods.

This commit is contained in:
Emmanuel Leblond
2016-08-15 11:39:19 +02:00
parent 91ba00b416
commit c402ac13df
3 changed files with 101 additions and 0 deletions

View File

@@ -22242,6 +22242,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>
@@ -22345,6 +22366,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>