RenderWare V2.1

Previous Page Index Next Page

RwUserDraw *

RwSetUserDrawVertexIndex(RwUserDraw *userdraw, RwInt32 index);

Description

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

Arguments

userdraw Pointer to the user-draw.

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

Return Value

The argument userdraw if successful, and NULL 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.

index is an index into the vertex list of the clump to which the user-draw is attached.

See Also

RwCreateUserDraw()

RwGetUserDrawType()

RwGetUserDrawVertexIndex()