RenderWare V2.1

Previous Page Index Next Page

RwLight *

RwSetLightConeAngle(RwLight *light, RwReal angle);

Description

Sets the angle at which a conical light illuminates objects (measured from the direction vector of the light).

Arguments

light Pointer to the light.

angle Cone angle (in degrees).

Return Value

The argument light if successful, and NULL otherwise.

Comments

This function is only valid for conical lights (those lights created with the light type rwCONICAL).

See Also

RwCreateLight()

RwGetLightConeAngle()

RwGetLightType()