RenderState.FogColor Property

Bb196919.note(en-US,XNAGameStudio.10).gifNote
This property is available only when developing for Windows.
Gets or sets the fog color. The default value is Color.TransparentBlack.

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

public Color FogColor { get; set; }

Property Value

A color that specifies the fog color to set or get.

Windows XP SP2, Windows Vista

Show: