RenderWare V2.1

Previous Page Index Next Page

RwBool

RwSetHints(RwClumpHints hints);

Description

Sets the hints of the current clump under construction to those given. A clump’s hints enable RenderWare to render a scene containing that clump more efficiently.

Arguments

hints A bitfield representing a hint (or "bitwise or" of hints).

Return Value

TRUE if successful, and FALSE otherwise.

Comments

The clump hints are:

• rwCONTAINER The clump spatially contains other clumps.

• rwHS Action should be taken to prevent hidden surfaces from being visible when the clump is rendered.

• rwEDITABLE The clump’s geometry is editable (its vertices can be moved and new vertices and polygons added).

Unlike RwAddHint(), which simply adds one or more hints to the current clump’s set of hints, RwSetHints() replaces the current clump’s entire set of hints with those specified.

This function can only be called within the context of an RwClumpBegin()RwClumpEnd() block.

See Also

RwAddHint()

RwClumpBegin()

RwClumpEnd()

RwRemoveHint()

RwSetClumpHints()