FetchOrientation()
语法
FetchOrientation(ObjectID [, Mode])概要
Get the orientation of the specified object. GetX(), GetY(), GetZ() and GetW() will be used to get orientation values.
参数
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.
返回值
无.
参阅
GetX(), GetY(), GetZ(), GetW(), SetOrientation()
已支持操作系统
所有