Viewport.MaxZ Property

Language:

Retrieves or sets the maximum value of the clip volume.

Definition

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

Property Value

System.Single
Integer that represents the maximum z-value of the clipping volume.

This property is read/write. 

Remarks

MaxZ, together with MinZ, specifies the range of depth values into which a scene is rendered. Most applications set this value to 1.0. Clipping is performed after the projection matrix is applied.


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

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center