RwGetClumpAxisAlignment(RwClump *clump);
Description
Retrieves the axis alignment type of the clump.
Arguments
clump Pointer to the clump.
Return Value
The axis alignment type of the clump if successful, and rwNAAXISALIGNMENT otherwise.
Comments
The following axis alignment types are supported:
rwNOAXISALIGNMENT The clump is not axis aligned, it is unconstrained.
rwALIGNAXISZORIENTX
The clumps local Z axis is aligned with the "Look At" vector of the camera, but the orientation of the 2D projection of the clumps local X axis is preserved.
rwALIGNAXISZORIENTY
The clumps local Z axis is aligned with the "Look At" vector of the camera, but the orientation of the 2D projection of the clumps local Y axis is preserved.
rwALIGNAXISXYZ The local X, Y and Z axes of the clump are aligned with the cameras "Look Right", "Look Up" and "Look At" vectors respectively.
A clump that is axis aligned will be aligned with the view planes of all cameras used to view that clump.
See Also