RemoteTransform.xml 1.7 KB

123456789101112131415161718192021222324252627282930313233
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="RemoteTransform" inherits="Spatial" category="Core" version="3.1.2">
  3. <brief_description>
  4. RemoteTransform pushes its own [Transform] to another [Spatial] derived Node in the scene.
  5. </brief_description>
  6. <description>
  7. RemoteTransform pushes its own [Transform] to another [Spatial] derived Node (called the remote node) in the scene.
  8. It can be set to update another Node's position, rotation and/or scale. It can use either global or local coordinates.
  9. </description>
  10. <tutorials>
  11. </tutorials>
  12. <methods>
  13. </methods>
  14. <members>
  15. <member name="remote_path" type="NodePath" setter="set_remote_node" getter="get_remote_node">
  16. The [NodePath] to the remote node, relative to the RemoteTransform's position in the scene.
  17. </member>
  18. <member name="update_position" type="bool" setter="set_update_position" getter="get_update_position">
  19. If [code]true[/code], the remote node's position is updated. Default value: [code]true[/code].
  20. </member>
  21. <member name="update_rotation" type="bool" setter="set_update_rotation" getter="get_update_rotation">
  22. If [code]true[/code], the remote node's rotation is updated. Default value: [code]true[/code].
  23. </member>
  24. <member name="update_scale" type="bool" setter="set_update_scale" getter="get_update_scale">
  25. If [code]true[/code], the remote node's scale is updated. Default value: [code]true[/code].
  26. </member>
  27. <member name="use_global_coordinates" type="bool" setter="set_use_global_coordinates" getter="get_use_global_coordinates">
  28. If [code]true[/code], global coordinates are used. If [code]false[/code], local coordinates are used. Default value: [code]true[/code].
  29. </member>
  30. </members>
  31. <constants>
  32. </constants>
  33. </class>