mirror of
https://github.com/godotengine/godot-docs.git
synced 2025-12-31 17:49:03 +03:00
50 lines
1.8 KiB
ReStructuredText
50 lines
1.8 KiB
ReStructuredText
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
|
|
.. DO NOT EDIT THIS FILE, but the RemoteTransform.xml source instead.
|
|
.. The source is found in doc/classes or modules/<name>/doc_classes.
|
|
|
|
.. _class_RemoteTransform:
|
|
|
|
RemoteTransform
|
|
===============
|
|
|
|
**Inherits:** :ref:`Spatial<class_spatial>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
|
|
|
|
**Category:** Core
|
|
|
|
Brief Description
|
|
-----------------
|
|
|
|
RemoteTransform leads the :ref:`Transform<class_transform>` of another :ref:`Spatial<class_spatial>` derived Node in the scene.
|
|
|
|
Member Variables
|
|
----------------
|
|
|
|
.. _class_RemoteTransform_remote_path:
|
|
|
|
- :ref:`NodePath<class_nodepath>` **remote_path** - The :ref:`NodePath<class_nodepath>` to the remote node, relative to the RemoteTransform's position in the scene.
|
|
|
|
.. _class_RemoteTransform_update_position:
|
|
|
|
- :ref:`bool<class_bool>` **update_position** - If ``true`` the remote node's position is tracked. Default value: ``true``.
|
|
|
|
.. _class_RemoteTransform_update_rotation:
|
|
|
|
- :ref:`bool<class_bool>` **update_rotation** - If ``true`` the remote node's rotation is tracked. Default value: ``true``.
|
|
|
|
.. _class_RemoteTransform_update_scale:
|
|
|
|
- :ref:`bool<class_bool>` **update_scale** - If ``true`` the remote node's scale is tracked. Default value: ``true``.
|
|
|
|
.. _class_RemoteTransform_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
|
|
-----------
|
|
|
|
RemoteTransform leads the :ref:`Transform<class_transform>` of another :ref:`Spatial<class_spatial>` 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.
|
|
|