RenderWare V2.1

Previous Page Index Next Page

RwUserDraw *

RwSetUserDrawType(RwUserDraw *userdraw, RwUserDrawType type);

Description

Sets the user-draw’s type.

Arguments

userdraw Pointer to the user-draw.

type Type of the user-draw.

Return Value

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

RwGetUserDrawType()