Light.Falloff Property |
Language: |
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).
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);
System.Single
This property is read/write.
Value that indicates the decrease in illumination.
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
InvalidCallException The property value is invalid.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center