RwSetClumpState(RwClump *clump, RwState state);
Description
Sets the clumps on/off state.
Arguments
clump Pointer to the clump.
state The clump state.
Return Value
The argument clump if successful, and NULL otherwise.
Comments
The clumps state determines whether the clump will be considered as a candidate for rendering and picking.
The clump states are:
rwON The clump will be a candidate for rendering and picking.
rwOFF The clump will not be a candidate for rendering and picking.
A state of rwON should be interpreted as making the clump a candidate for rendering and picking. Such a clump will not appear 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 the 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