RemoteTransform

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

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.

Members

Aliases

BaseClasses
alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses)
Undocumented in source.

Functions

forceUpdateCache
void forceUpdateCache()

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

getRemoteNode
NodePath getRemoteNode()
getUpdatePosition
bool getUpdatePosition()
getUpdateRotation
bool getUpdateRotation()
getUpdateScale
bool getUpdateScale()
getUseGlobalCoordinates
bool getUseGlobalCoordinates()
opAssign
typeof(null) opAssign(typeof(null) n)
opEquals
bool opEquals(RemoteTransform other)
opEquals
bool opEquals(typeof(null) n)
setRemoteNode
void setRemoteNode(NodePathArg0 path)
setUpdatePosition
void setUpdatePosition(bool update_remote_position)
setUpdateRotation
void setUpdateRotation(bool update_remote_rotation)
setUpdateScale
void setUpdateScale(bool update_remote_scale)
setUseGlobalCoordinates
void setUseGlobalCoordinates(bool use_global_coordinates)
toHash
size_t toHash()

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

remotePath
NodePath remotePath [@property getter]
NodePath remotePath [@property setter]

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

updatePosition
bool updatePosition [@property getter]
bool updatePosition [@property setter]

If true, the remote node's position is updated.

updateRotation
bool updateRotation [@property getter]
bool updateRotation [@property setter]

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

updateScale
bool updateScale [@property getter]
bool updateScale [@property setter]

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

useGlobalCoordinates
bool useGlobalCoordinates [@property getter]
bool useGlobalCoordinates [@property setter]

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

Static functions

_new
RemoteTransform _new()

Construct a new instance of RemoteTransform. Note: use memnew!RemoteTransform instead.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

GDNativeClassBinding
struct GDNativeClassBinding
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

_GODOT_internal_name
enum string _GODOT_internal_name;
Undocumented in source.

Mixed In Members

From mixin baseCasts

as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(ToRef) as()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(ToRef)
Undocumented in source.
opCast
void* opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
godot_object opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta