Export (0) Print
Expand All
Expand Minimize

RenderState.FogDensity Property

Gets or sets the fog density for pixel or vertex fog used in exponential fog modes. The default value is 1.0f.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public float FogDensity { get; set; }

Property Value

Value that represents the fog density to set or get.

Valid fog density values range from 0.0 through 1.0.

Xbox 360, Windows XP SP2, Windows Vista

Community Additions

ADD
Show:
© 2014 Microsoft