class_remotetransform.rst 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the RemoteTransform.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_RemoteTransform:
  5. RemoteTransform
  6. ===============
  7. **Inherits:** :ref:`Spatial<class_spatial>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
  8. **Category:** Core
  9. Brief Description
  10. -----------------
  11. RemoteTransform leads the :ref:`Transform<class_transform>` of another :ref:`Spatial<class_spatial>` derived Node in the scene.
  12. Member Variables
  13. ----------------
  14. .. _class_RemoteTransform_remote_path:
  15. - :ref:`NodePath<class_nodepath>` **remote_path** - The :ref:`NodePath<class_nodepath>` to the remote node, relative to the RemoteTransform's position in the scene.
  16. .. _class_RemoteTransform_update_position:
  17. - :ref:`bool<class_bool>` **update_position** - If ``true`` the remote node's position is tracked. Default value: ``true``.
  18. .. _class_RemoteTransform_update_rotation:
  19. - :ref:`bool<class_bool>` **update_rotation** - If ``true`` the remote node's rotation is tracked. Default value: ``true``.
  20. .. _class_RemoteTransform_update_scale:
  21. - :ref:`bool<class_bool>` **update_scale** - If ``true`` the remote node's scale is tracked. Default value: ``true``.
  22. .. _class_RemoteTransform_use_global_coordinates:
  23. - :ref:`bool<class_bool>` **use_global_coordinates** - If ``true`` global coordinates are used. If ``false`` local coordinates are used. Default value: ``true``.
  24. Description
  25. -----------
  26. RemoteTransform leads the :ref:`Transform<class_transform>` of another :ref:`Spatial<class_spatial>` derived Node (called the remote node) in the scene.
  27. It can be set to track another Node's position, rotation and/or scale. It can update using either global or local coordinates.