RenderWare V2.1

Previous Page Index Next Page

RwLight *

RwSetLightState(RwLight *light, RwState state);

Description

Turns the light on or off.

Arguments

light Pointer to the light.

state The light state.

Return Value

The argument light if successful, and NULL otherwise.

Comments

The light states are:

• rwON The light is on.

• rwOFF The light is off.

See Also

RwGetLightState()