Aracılığıyla paylaş


IEffectFog Interface

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets fog parameters for the current effect.

Namespace:  Microsoft.Xna.Framework.Graphics
Assembly:  Microsoft.Xna.Framework.Graphics.Extensions (in Microsoft.Xna.Framework.Graphics.Extensions.dll)

Syntax

'Declaration
Public Interface IEffectFog
public interface IEffectFog

The IEffectFog type exposes the following members.

Properties

  Name Description
Public property FogColor Gets or sets the fog color.
Public property FogEnabled Enables or disables fog.
Public property FogEnd Gets or sets maximum z value for fog.
Public property FogStart Gets or sets minimum z value for fog.

Top

Version Information

Silverlight

Supported in: 5

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.