RenderWare V2.1

Previous Page Index Next Page

RwBool

RwClumpBegin(void);

Description

Identifies the beginning of a clump definition. The modeling matrix for the clump is set to the CTM at this time. The joint (articulation) matrix for the clump is set to the current joint transformation matrix.

The current transformation matrix, the current joint transformation matrix, and the current material are pushed onto the main transformation stack, the joint transformation stack, and the material stack respectively.

Arguments

None.

Return Value

TRUE if successful, and FALSE otherwise.

Comments

This function can only be called within the context of an RwModelBegin()RwModelEnd() block. A call to RwClumpBegin() may be nested, to any depth, within an RwProtoBegin()RwProtoEnd() or RwClumpBegin()RwClumpEnd() block.

When nested within an RwProtoBegin()RwProtoEnd() or RwClumpBegin()RwClumpEnd() block, an RwClumpBegin()RwClumpEnd() block creates a child clump.

If the nested RwClumpBegin()RwClumpEnd() block is within an RwProtoBegin()RwProtoEnd() block, then no clump is actually created, instead a child definition is added to the prototype under construction.

See Also

RwClumpEnd()

RwModelBegin()

RwModelEnd()

RwProtoBegin()

RwProtoEnd()