RenderStateManager.FogDensity Property

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

Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)

public float FogDensity { get; set; }
/** @property */
public float get_FogDensity ()

/** @property */
public void set_FogDensity (float value)

public function get FogDensity () : float

public function set FogDensity (value : float)

Property Value

Value that represents the fog density to set or retrieve. The default value is 1.0.

Valid fog density values range from 0.0 through 1.0.

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Compact Framework

Supported in: 2.0
Show: