Light.Range Property |
Language: |
Retrieves or sets the distance beyond which the light has no effect.
Visual Basic Public Property Range As Single C# public float Range { get; set; } C++ public:
property float Range {
float get();
void set(float value);
}JScript public function get Range() : float
public function set Range(float);
System.Single
This property is read/write.
Value that indicates the distance beyond which the light has no effect.
The maximum allowable value for this member is the square root of MaxValue .
This member does not affect directional lights.
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