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.

    public bool UpdateRotation { get; set; }

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

    public bool UpdateScale { get; set; }

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

    public bool UseGlobalCoordinates { get; set; }

If true, global coordinates are used. If false, local coordinates are used.

Methods

    public void ForceUpdateCache()

RemoteTransform caches the remote node. It may not notice if the remote node disappears; ForceUpdateCache() forces it to update the cache again.

    [Obsolete("GetRemoteNode is deprecated. Use the RemotePath property instead.")]
    public NodePath GetRemoteNode()

Getter for RemotePath

    [Obsolete("GetUpdatePosition is deprecated. Use the UpdatePosition property instead.")]
    public bool GetUpdatePosition()

Getter for UpdatePosition

    [Obsolete("GetUpdateRotation is deprecated. Use the UpdateRotation property instead.")]
    public bool GetUpdateRotation()

Getter for UpdateRotation

    [Obsolete("GetUpdateScale is deprecated. Use the UpdateScale property instead.")]
    public bool GetUpdateScale()

Getter for UpdateScale

    [Obsolete("GetUseGlobalCoordinates is deprecated. Use the UseGlobalCoordinates property instead.")]
    public bool GetUseGlobalCoordinates()

Getter for UseGlobalCoordinates

    [Obsolete("SetRemoteNode is deprecated. Use the RemotePath property instead.")]
    public void SetRemoteNode(NodePath path)

Setter for RemotePath

    [Obsolete("SetUpdatePosition is deprecated. Use the UpdatePosition property instead.")]
    public void SetUpdatePosition(bool updateRemotePosition)

Setter for UpdatePosition

    [Obsolete("SetUpdateRotation is deprecated. Use the UpdateRotation property instead.")]
    public void SetUpdateRotation(bool updateRemoteRotation)

Setter for UpdateRotation

    [Obsolete("SetUpdateScale is deprecated. Use the UpdateScale property instead.")]
    public void SetUpdateScale(bool updateRemoteScale)

Setter for UpdateScale

    [Obsolete("SetUseGlobalCoordinates is deprecated. Use the UseGlobalCoordinates property instead.")]
    public void SetUseGlobalCoordinates(bool useGlobalCoordinates)

Setter for UseGlobalCoordinates

Tags: