Sdílet prostřednictvím


RenderState.FogColor Property

Note

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)

Syntax

public Color FogColor { get; set; }

Property Value

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

See Also

Reference

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

Platforms

Windows XP SP2, Windows Vista