RenderWare V2.1

Previous Page Index Next Page

RwReal

RwGetLightConeAngle(RwLight *light);

Description

Retrieves the cone angle of a conical or point light.

Arguments

light Pointer to the light.

Return Value

The cone angle of the light if successful. Errors can be checked for using RwGetError().

Comments

For a point light source, CREAL(180.0) is returned.

See Also

RwCreateLight()

RwGetError()

RwSetLightConeAngle()