RenderWare V2.1

Previous Page Index Next Page

RwLight *

RwDuplicateLight(RwLight *light);

Description

Creates a new light with the same attributes as light. The new light is added to the same scene as light.

Arguments

light Pointer to the light.

Return Value

A pointer to the new light if successful, and NULL otherwise.

See Also

RwAddLightToScene()

RwCreateLight()

RwDestroyLight()