RemoteTransform pushes its own Transform to another Spatial derived Node in the scene.
    public class RemoteTransform : Spatial

RemoteTransform pushes its own Transform to another Spatial derived Node (called the remote node) in the scene.

It can be set to update another Node’s position, rotation and/or scale. It can use either global or local coordinates.

Inheritance Chain

Constructors

    public RemoteTransform()

Properties

    public NodePath RemotePath { get; set; }

The NodePath to the remote node, relative to the RemoteTransform’s position in the scene.

    public bool UpdatePosition { get; set; }

If true, the remote node’s position is updated. Default value: true.

    public bool UpdateRotation { get; set; }

If true, the remote node’s rotation is updated. Default value: true.

    public bool UpdateScale { get; set; }

If true, the remote node’s scale is updated. Default value: true.

    public bool UseGlobalCoordinates { get; set; }

If true, global coordinates are used. If false, local coordinates are used. Default value: true.

Methods

    public NodePath GetRemoteNode()

Getter for RemotePath

    public bool GetUpdatePosition()

Getter for UpdatePosition

    public bool GetUpdateRotation()

Getter for UpdateRotation

    public bool GetUpdateScale()

Getter for UpdateScale

    public bool GetUseGlobalCoordinates()

Getter for UseGlobalCoordinates

    public void SetRemoteNode(NodePath path)

Setter for RemotePath

    public void SetUpdatePosition(bool updateRemotePosition)

Setter for UpdatePosition

    public void SetUpdateRotation(bool updateRemoteRotation)

Setter for UpdateRotation

    public void SetUpdateScale(bool updateRemoteScale)

Setter for UpdateScale

    public void SetUseGlobalCoordinates(bool useGlobalCoordinates)

Setter for UseGlobalCoordinates

Tags: