RemoteTransform3D
RemoteTransform3D pushes its own Transform3D to another Entity3D derived Entity in the scene.
RemoteTransform3D pushes its own Transform3D to another Entity3D derived Entity in the scene.
RemoteTransform3D pushes its own Transform3D to another Entity3D derived Entity (called the remote node) in the scene.
It can be set to update another Entity's position, rotation and/or scale. It can use either global or local coordinates.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
RemoteTransform3DConstructor
public RemoteTransform3D();Properties5
RemotePathProperty
public EntityPath RemotePath { get; set; }The EntityPath to the remote node, relative to the RemoteTransform3D's position in the scene.
UpdatePositionProperty
public bool UpdatePosition { get; set; }If true, the remote node's position is updated.
UpdateRotationProperty
public bool UpdateRotation { get; set; }If true, the remote node's rotation is updated.
UpdateScaleProperty
public bool UpdateScale { get; set; }If true, the remote node's scale is updated.
UseGlobalCoordinatesProperty
public bool UseGlobalCoordinates { get; set; }If true, global coordinates are used. If false, local coordinates are used.
Methods11
ForceUpdateCachevoid
public void ForceUpdateCache();RemoteTransform3D caches the remote node. It may not notice if the remote node disappears; RemoteTransform3D.ForceUpdateCache forces it to update the cache again.
GetRemoteEntityEntityPath
public EntityPath GetRemoteEntity();EntityPathGetUpdatePositionbool
public bool GetUpdatePosition();boolGetUpdateRotationbool
public bool GetUpdateRotation();boolGetUpdateScalebool
public bool GetUpdateScale();boolGetUseGlobalCoordinatesbool
public bool GetUseGlobalCoordinates();boolSetRemoteEntityvoid
public void SetRemoteEntity(EntityPath path);| Name | Type | Default |
|---|---|---|
path | EntityPath | — |
SetUpdatePositionvoid
public void SetUpdatePosition(bool updateRemotePosition);| Name | Type | Default |
|---|---|---|
updateRemotePosition | bool | — |
SetUpdateRotationvoid
public void SetUpdateRotation(bool updateRemoteRotation);| Name | Type | Default |
|---|---|---|
updateRemoteRotation | bool | — |
SetUpdateScalevoid
public void SetUpdateScale(bool updateRemoteScale);| Name | Type | Default |
|---|---|---|
updateRemoteScale | bool | — |
SetUseGlobalCoordinatesvoid
public void SetUseGlobalCoordinates(bool useGlobalCoordinates);| Name | Type | Default |
|---|---|---|
useGlobalCoordinates | bool | — |