SetOrientation()

Syntax

SetOrientation(ObjectID, x, y, z, w)
Description
Set the orientation of the specified object.

Parameters

ObjectID The object ID to set 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.
x, y, z, w The new orientation value.

Return value

None.

See Also

FetchOrientation()

Supported OS

All

<- SetGUITheme3D() - Engine3D Index - SetRenderQueue() ->