RenderWare V2.1

Previous Page Index Next Page

RwUserDraw *

RwDuplicateUserDraw(RwUserDraw *userdraw);

Description

Creates a new user-draw with the same attributes as userdraw.

Arguments

userdraw Pointer to the user-draw to be duplicated.

Return Value

A pointer to the new user-draw if successful, and NULL otherwise.

Comments

The new user-draw is owned by the same clump as userdraw, if userdraw has an owning clump, otherwise it will not be owned by a clump and should be added to a clump with RwAddUserDrawToClump().

See Also

RwAddUserDrawToClump()

RwCreateUserDraw()

RwDestroyUserDraw()