1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
- .. DO NOT EDIT THIS FILE, but the RemoteTransform2D.xml source instead.
- .. The source is found in doc/classes or modules/<name>/doc_classes.
- .. _class_RemoteTransform2D:
- RemoteTransform2D
- =================
- **Inherits:** :ref:`Node2D<class_node2d>` **<** :ref:`CanvasItem<class_canvasitem>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
- **Category:** Core
- Brief Description
- -----------------
- RemoteTransform2D leads the :ref:`Transform2D<class_transform2d>` of another :ref:`CanvasItem<class_canvasitem>` derived Node in the scene.
- Member Variables
- ----------------
- .. _class_RemoteTransform2D_remote_path:
- - :ref:`NodePath<class_nodepath>` **remote_path** - The :ref:`NodePath<class_nodepath>` to the remote node, relative to the RemoteTransform2D's position in the scene.
- .. _class_RemoteTransform2D_update_position:
- - :ref:`bool<class_bool>` **update_position** - If ``true`` the remote node's position is tracked. Default value: ``true``.
- .. _class_RemoteTransform2D_update_rotation:
- - :ref:`bool<class_bool>` **update_rotation** - If ``true`` the remote node's rotation is tracked. Default value: ``true``.
- .. _class_RemoteTransform2D_update_scale:
- - :ref:`bool<class_bool>` **update_scale** - If ``true`` the remote node's scale is tracked. Default value: ``true``.
- .. _class_RemoteTransform2D_use_global_coordinates:
- - :ref:`bool<class_bool>` **use_global_coordinates** - If ``true`` global coordinates are used. If ``false`` local coordinates are used. Default value: ``true``.
- Description
- -----------
- RemoteTransform2D leads the :ref:`Transform2D<class_transform2d>` of another :ref:`CanvasItem<class_canvasitem>` derived Node (called the remote node) in the scene.
- It can be set to track another Node's position, rotation and/or scale. It can update using either global or local coordinates.
|