RwGetClumpState(RwClump *clump);
Description
Retrieves the clumps on/off state.
Arguments
clump Pointer to the clump.
Return Value
The clumps state if successful, and rwNASTATE otherwise.
Comments
The states are:
rwON The clump is to be a candidate for rendering and picking.
rwOFF The clump is not to be a candidate for rendering and picking.
A state of rwON should be interpreted as making a clump a candidate for rendering and picking. Such a clump will not be rendered if it lies outside the view volume and it will not be picked unless one of its polygons is the foremost under the pick position.
The state affects only the clump to which it is applied and not to that clumps children. Thus, to prevent a single clump in a hierarchy from being rendered it is preferable to modify the clumps state rather than to remove it from a scene with RwRemoveClumpFromScene().
See Also