RenderStateManager.FogDensity Property |
Language: |
Retrieves or sets the fog density for pixel or vertex fog used in exponential fog modes.
Visual Basic Public Property FogDensity As Single C# public float FogDensity { get; set; } C++ public:
property float FogDensity {
float get();
void set(float value);
}JScript public function get FogDensity() : float
public function set FogDensity(float);
System.Single
This property is read/write.
Floating-point value that represents the fog density to set or retrieve.
Valid fog density values range from 0.0 through 1.0. The default value is 1.0.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.