RenderWare V2.1

Previous Page Index Next Page

RwLightType

RwGetLightType(RwLight *light);

Description

Retrieves the type of the light.

Arguments

light Pointer to the light.

Return Value

The light type if successful, and rwNALIGHTTYPE otherwise.

Comments

The light types are:

• rwDIRECTIONAL A directional light source.

• rwPOINT A point light source.

• rwCONICAL A conical (or spot) light source.

See Also

RwCreateLight()