RenderWare V2.1

Previous Page Index Next Page

RwScene *

RwAddLightToScene(RwScene *scene, RwLight *light);

Description

Adds the light to the scene.

Arguments

scene Pointer to the scene.

light Pointer to the light.

Return Value

The argument scene if successful, and NULL otherwise.

See Also

RwDestroyLight()

RwDestroyScene()

RwForAllLightsInScene()

RwGetLightOwner()

RwGetSceneNumLights()

RwRemoveLightFromScene()