RenderWare V2.1

Previous Page Index Next Page

RwClump *

RwReadShape(char *filename);

Description

Loads a clump from a script (.rwx) file. If filename is not an absolute path, the library searches for the specified file in all directories on its shape path.

Arguments

filename Pointer to the filename string.

Return Value

A pointer to the new clump if successful, and NULL otherwise

Comments

The clump is added to the default scene.

See Also

RwClumpBegin()

RwClumpEnd()

RwCreateClump()

RwDefaultScene()

RwDestroyClump()

RwGetShapePath()

RwSetShapePath()

RwWriteShape()