RenderStateManager.FogDensity Property

Language:

Note: This documentation is preliminary and is subject to change.

Retrieves or sets the fog density for pixel or vertex fog used in exponential fog modes.

Definition

Visual Basic .NET Public Property FogDensity As Single
C# public float FogDensity { get; set; }
Managed C++ public: __property float get_FogDensity();
public: __property void set_FogDensity(float);
JScript .NET public function get FogDensity() : float
public function set FogDensity(float);

Property Value

System.Single . Floating-point value that represents the fog density to set or retrieve.

This property is read/write. 

Remarks

Valid fog density values range from 0.0 through 1.0. The default value is 1.0.

See Also


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.