RenderStateManager.FogEnd Property

Language:

Note: This documentation is preliminary and is subject to change.

Retrieves or sets the depth at which pixel or vertex fog effects end for linear fog mode.

Definition

Visual Basic .NET Public Property FogEnd As Single
C# public float FogEnd { get; set; }
Managed C++ public: __property float get_FogEnd();
public: __property void set_FogEnd(float);
JScript .NET public function get FogEnd() : float
public function set FogEnd(float);

Property Value

System.Single . Floating-point value that represents the ending depth to set or retrieve.

This property is read/write. 

Remarks

The default value is 1.0f. Depth is specified in world space for vertex fog, and in either device space [0.0, 1.0] or world space for pixel fog. For pixel fog, these values are in device space when the system uses z for fog calculations, or in world space when the system uses eye-relative fog (w-fog).

See Also


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.