RenderWare V2.1

Previous Page Index Next Page

RwInt32

RwGetUserDrawVertexIndex(RwUserDraw *userdraw);

Description

Retrieves the index of the clump vertex with which the user-draw is aligned.

Arguments

userdraw Pointer to the user-draw.

Return Value

The index of the vertex the user-draw is aligned with if successful, and 0 otherwise.

Comments

The vertex index is only used if the user-draw’s type is rwVERTEXALIGN, for all other user-draw types it is ignored.

The vertex index is an index into the vertex list of the owning clump of the user-draw.

See Also

RwCreateUserDraw()

RwSetUserDrawVertexIndex()