RenderStateManager.FogStart Property

Language:

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

Definition

Visual Basic Public Property FogStart As Single
C# public float FogStart { get; set; }
C++ public:
property float FogStart {
        float get();
        void set(float value);
}
JScript public function get FogStart() : float
public function set FogStart(float);

Property Value

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

This property is read/write. 

Remarks

The default value is 0.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


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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