Light.Falloff Property (Microsoft.DirectX.Direct3D)
Retrieves or sets the decrease in illumination between a spotlight's inner cone (the angle specified by InnerConeAngle) and the outer edge of the outer cone (the angle specified by OuterConeAngle).
Definition
Visual Basic Public Property Falloff As Single C# public float Falloff { get; set; } C++ public:
property float Falloff {
float get();
void set(float value);
}JScript public function get Falloff() : float
public function set Falloff(float);
Property Value
System.Single
Value that indicates the decrease in illumination.This property is read/write.
Remarks
The effect of falloff, the light attenuation between a spotlight's inner and outer cones, on the lighting is subtle. Furthermore, a small performance penalty is incurred by shaping the falloff curve. For these reasons, most developers set this value to 1.0.
Exceptions
The property value is invalid.