Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

RenderState.FogColor Property

Bb196919.note(en-us,XNAGameStudio.31).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

Community Additions

ADD
Show:
© 2015 Microsoft