Share via


RenderState.FogEnable Property

Note

This property is available only when developing for Windows.

Enables or disables fog blending. The default is false.

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

Syntax

public bool FogEnable { get; set; }

Property Value

true if fog blending is enabled; false otherwise.

See Also

Reference

RenderState Class
RenderState Members
FogColor
FogVertexMode
FogStart
FogEnd
FogDensity
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Windows XP SP2, Windows Vista