Sdílet prostřednictvím


GraphicsDeviceCapabilities.RasterCaps.SupportsFogRange Property

Gets a value indicating whether the device supports range-based fog.

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

Syntax

public bool SupportsFogRange { get; }

Property Value

true if the device supports range-based fog; false otherwise.

Remarks

In range-based fog, the distance of an object from the viewer is used to compute fog effects, not the depth of the object (that is, the z-coordinate) in the scene.

See Also

Reference

GraphicsDeviceCapabilities.RasterCaps Structure
GraphicsDeviceCapabilities.RasterCaps Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista