Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

FogMode Enumeration

Bb196925.note(en-US,XNAGameStudio.30).gifNote
This enumeration is available only when developing for Windows.
Defines constants that describe the fog mode.

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

public enum FogMode
 Member nameDescription
Exponent

Fog effect intensifies exponentially, according to the following formula.

Bb196925.fogexp(en-US,XNAGameStudio.30).gif
ExponentSquared

Fog effect intensifies exponentially with the square of the distance, according to the following formula.

Bb196925.fogexp2(en-US,XNAGameStudio.30).gif
Linear

Fog effect intensifies in a linear manner between the start and end points, according to the following formula.

Bb196925.foglinear(en-US,XNAGameStudio.30).gif
NoneNo fog effect.

Fog can be considered a measure of visibility. The lower the fog value produced by a fog equation, the less visible an object is.

Windows XP SP2, Windows Vista

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.