Bagikan melalui


BasicEffect.FogColor Property

Gets or sets the fog color, the range of color values is from 0 to 1.

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

Syntax

public Vector3 FogColor { get; set; }

Property Value

A three-component color.

See Also

Reference

BasicEffect Class
BasicEffect Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP