Light.Attenuation1 Property (Microsoft.DirectX.Direct3D)
Retrieves or sets a value that specifies how light intensity changes over distance.
Definition
Visual Basic Public Property Attenuation1 As Single C# public float Attenuation1 { get; set; } C++ public:
property float Attenuation1 {
float get();
void set(float value);
}JScript public function get Attenuation1() : float
public function set Attenuation1(float);
Property Value
System.Single
Value that specifies how light intensity changes over distance.This property is read/write.
Remarks
Attenuation values are ignored for directional lights. This member represents an attenuation constant. Its valid values range from 0.0 to infinity. For non-directional lights, all three attenuation values should not be set to 0.0 simultaneously.
Exceptions
The property value is invalid.