RenderWare V2.1

Previous Page Index Next Page

RwInt32

RwGetSceneNumLights(RwScene *scene);

Description

Retrieves the number of lights in the scene.

Arguments

scene Pointer to the scene.

Return Value

The number of lights in the scene if successful, and -1 otherwise.

See Also

RwAddLightToScene()

RwCreateLight()

RwForAllLightsInScene()

RwGetSceneNumClumps()

RwRemoveLightFromScene()