C4 Engine
C4 Engine API Documentation

PointLightObject::SetLightRange

Defined in:  C4LightObjects.h
Sets the spherical range of the light source.
Prototype

void SetLightRange(float range);

Parameters
range The spherical range of the light source.
Description
The SetLightRange function sets the range of the point light source. The light attenuation is zero at this distance from the light source, and no illumination is applied outside this range.
See Also

PointLightObject::GetLightRange