Light.attenuate Manual     Reference     Scripting  
Scripting > Runtime Classes > Light
Light.attenuate

var attenuate : bool

Description

Should the light attenuate with distance?

Attenuation is always off for Directional lights.

// Disable light attenuation
light.attenuate = false;

See Also: Light component