ObjectToParent Data Member Function

Initializes a matrix transformation from object or model coordinates to the parent coordinate system, such as world coordinates. The transformation consists of a scale, followed by rotation, then translation, or M = T * R * S.

Prototype

int32 ObjectToParent( Vec a_vOrientation, Vec a_vPosition, Vec a_vScale )

Parameters

Parameter Type Parameter Name Documentation
<Vec>a_vOrientationThe rotation value of the orientation as XYZ Euler angles.
<Vec>a_vPositionThe pivot position or translation.
<Vec>a_vScaleThe per-axis scale factors.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.