mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Sync classref again after https://github.com/godotengine/godot/pull/15611
This commit is contained in:
@@ -28,8 +28,6 @@ Member Functions
|
||||
+----------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Transform2D<class_transform2d>` | :ref:`get_relative_transform_to_parent<class_Node2D_get_relative_transform_to_parent>` **(** :ref:`Node<class_node>` parent **)** const |
|
||||
+----------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`float<class_float>` | :ref:`get_rotation<class_Node2D_get_rotation>` **(** **)** const |
|
||||
+----------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`global_translate<class_Node2D_global_translate>` **(** :ref:`Vector2<class_vector2>` offset **)** |
|
||||
+----------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`look_at<class_Node2D_look_at>` **(** :ref:`Vector2<class_vector2>` point **)** |
|
||||
@@ -40,8 +38,6 @@ Member Functions
|
||||
+----------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`rotate<class_Node2D_rotate>` **(** :ref:`float<class_float>` radians **)** |
|
||||
+----------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_rotation<class_Node2D_set_rotation>` **(** :ref:`float<class_float>` radians **)** |
|
||||
+----------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Vector2<class_vector2>` | :ref:`to_global<class_Node2D_to_global>` **(** :ref:`Vector2<class_vector2>` local_point **)** const |
|
||||
+----------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Vector2<class_vector2>` | :ref:`to_local<class_Node2D_to_local>` **(** :ref:`Vector2<class_vector2>` global_point **)** const |
|
||||
@@ -76,6 +72,10 @@ Member Variables
|
||||
|
||||
- :ref:`Vector2<class_vector2>` **position** - Position, relative to the node's parent.
|
||||
|
||||
.. _class_Node2D_rotation:
|
||||
|
||||
- :ref:`float<class_float>` **rotation** - Rotation in radians, relative to the node's parent.
|
||||
|
||||
.. _class_Node2D_rotation_degrees:
|
||||
|
||||
- :ref:`float<class_float>` **rotation_degrees** - Rotation in degrees, relative to the node's parent.
|
||||
@@ -123,10 +123,6 @@ Returns the angle between the node and the 'point' in radians.
|
||||
|
||||
Returns the :ref:`Transform2D<class_transform2d>` relative to this node's parent.
|
||||
|
||||
.. _class_Node2D_get_rotation:
|
||||
|
||||
- :ref:`float<class_float>` **get_rotation** **(** **)** const
|
||||
|
||||
.. _class_Node2D_global_translate:
|
||||
|
||||
- void **global_translate** **(** :ref:`Vector2<class_vector2>` offset **)**
|
||||
@@ -157,10 +153,6 @@ Applies a local translation on the node's Y axis based on the :ref:`Node._proces
|
||||
|
||||
Applies a rotation to the node, in radians, starting from its current rotation.
|
||||
|
||||
.. _class_Node2D_set_rotation:
|
||||
|
||||
- void **set_rotation** **(** :ref:`float<class_float>` radians **)**
|
||||
|
||||
.. _class_Node2D_to_global:
|
||||
|
||||
- :ref:`Vector2<class_vector2>` **to_global** **(** :ref:`Vector2<class_vector2>` local_point **)** const
|
||||
|
||||
Reference in New Issue
Block a user