![]() |
![]() |
![]() |
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 .NET Public Property Falloff As Single C# public float Falloff { get; set; } Managed C++ public: __property float get_Falloff();
public: __property void set_Falloff(float);JScript .NET public function get Falloff() : float
public function set Falloff(float);
System.Single . Value that indicates the decrease in illumination.
This property is read/write.
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.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center