RenderWare V2.1

Previous Page Index Next Page

RwState

RwGetLightState(RwLight *light);

Description

Retrieves the light’s on/off state.

Arguments

light Pointer to the light.

Return Value

The light’s state if successful, and rwNASTATE otherwise.

Comments

The states are:

• rwON The light is on.

• rwOFF The light is off.

See Also

RwCreateLight()

RwGetClumpState()

RwSetLightState()