ConvertLocalToWorldPosition()

Syntax

ConvertLocalToWorldPosition(ObjectID, x, y, z)
Description
Converts the local x,y,z coordinates into world coordinates. GetX(), GetY() and GetZ() will be used to get the converted coordinates.

Parameters

ObjectID The object ID to convert the coordinate from. 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 The local coordinates to convert.

Return value

None.

See Also

ConvertWorldToLocalPosition()

Supported OS

All

<- BodyPick() - Engine3D Index - ConvertWorldToLocalPosition() ->