RenderWare V2.1

Previous Page Index Next Page

RwUserDrawType

RwGetUserDrawType(RwUserDraw *userdraw);

Description

Retrieves the user-draw’s type.

Arguments

userdraw Pointer to the user-draw.

Return Value

The user-draw’s type if successful, and rwNAUSERDRAWTYPE otherwise.

Comments

The user-draw types are:

• rwCLUMPALIGN Align with the origin of the owning clump.

• rwVERTEXALIGN Align with a vertex of the owning clump.

• rwBBOXALIGN Align with the viewport bounding box of the owning clump.

• rwVPALIGN Align with the viewing camera’s viewport.

See Also

RwCreateUserDraw()

RwGetClumpViewportRect()

RwSetUserDrawType()