Struct RemoteTransform
RemoteTransform pushes its own Transform
to another Spatial
derived Node in the scene.
struct RemoteTransform
;
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.
Properties
Name | Type | Description |
---|---|---|
remotePath [get, set]
|
NodePath | The NodePath to the remote node, relative to the RemoteTransform's position in the scene.
|
updatePosition [get, set]
|
bool | If true , the remote node's position is updated.
|
updateRotation [get, set]
|
bool | If true , the remote node's rotation is updated.
|
updateScale [get, set]
|
bool | If true , the remote node's scale is updated.
|
useGlobalCoordinates [get, set]
|
bool | If true , global coordinates are used. If false , local coordinates are used.
|
Methods
Name | Description |
---|---|
forceUpdateCache
|
RemoteTransform caches the remote node. It may not notice if the remote node disappears; forceUpdateCache forces it to update the cache again.
|
getRemoteNode
|
|
getUpdatePosition
|
|
getUpdateRotation
|
|
getUpdateScale
|
|
getUseGlobalCoordinates
|
|
setRemoteNode
|
|
setUpdatePosition
|
|
setUpdateRotation
|
|
setUpdateScale
|
|
setUseGlobalCoordinates
|