RenderWare V2.1

Previous Page Index Next Page

RwLight *

RwRemoveLightFromScene(RwLight *light);

Description

Removes the light from its scene.

Arguments

light Pointer to the light.

Return Value

The argument light if successful, and NULL otherwise.

Comments

The light is added to the default scene. Lights cannot be explicitly removed from the default scene.

See Also

RwAddLightToScene()

RwDefaultScene()

RwDestroyLight()

RwForAllLightsInScene()

RwGetSceneNumLights()

RwRemoveClumpFromScene()