Q3SpotLight_SetAttenuation
You can use theQ3SpotLight_SetAttenuationfunction to set the attenuation of a spot light.
TQ3Status Q3SpotLight_SetAttenuation ( TQ3LightObject light, TQ3AttenuationType attenuation);
light- A spot light object.
attenuation- The desired type of attenuation of the light. See "Light Attenuation Values" on page 8-9 for a description of the constants that can be passed in this parameter.
DESCRIPTION
TheQ3SpotLight_SetAttenuationfunction sets the attenuation value of the spot light specified by thelightparameter to the value passed in theattenuationparameter.