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.
int32 ObjectToParent( Vec a_vOrientation, Vec a_vPosition, Vec a_vScale )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<Vec> | a_vOrientation | The rotation value of the orientation as XYZ Euler angles. |
<Vec> | a_vPosition | The pivot position or translation. |
<Vec> | a_vScale | The per-axis scale factors. |
None published. Please look for an example in the Scenome Scripting Language code base.