FetchOrientation()

Syntax

FetchOrientation(ObjectID [, Mode])
Description
Get the orientation of the specified object. GetX(), GetY(), GetZ() and GetW() will be used to get orientation values.

Parameters

ObjectID The object ID to get the orientation. It can be one of the following type:
  - Camera         : use CameraID() to get a valid ID.
  - Entity         : use EntityID() to get a valid ID.
  - Light          : use LightID() to get a valid ID.
  - Mesh           : use MeshID() to get a valid ID.
  - Node           : use NodeID() to get a valid ID.
  - ParticleEmitter: use ParticleEmitterID() to get a valid ID.
  - BillboardGroup : use BillboardGroupID() to get a valid ID.
  - Text3D         : use Text3DID() to get a valid ID.
Mode (optional) The mode to get the orientation. It can be one of the following value:
  #PB_Absolute: get the absolute orientation of the object in the world (default).
  #PB_Relative: get the orientation of the object relative to its parent.

Return value

None.

See Also

GetX(), GetY(), GetZ(), GetW(), SetOrientation()

Supported OS

All

<- ExamineWorldCollisions() - Engine3D Index - FirstWorldCollisionEntity() ->