RenderWare V2.1

Previous Page Index Next Page

RwInt32

RwGetClumpNumChildren(RwClump *clump);

Description

Retrieves the number of children of the clump.

Arguments

clump Pointer to the clump.

Return Value

The number of children of the clump if successful, and -1 otherwise.

Comments

This function returns the number of direct children of the clump and not the number of descendants of the clump in the hierarchy.

See Also

RwAddChildToClump()

RwGetFirstChildClump()

RwGetNextClump()

RwRemoveChildFromClump()