Microsoft DirectX 9.0 SDK Update (October 2004)

Viewport.MaxZ Property

Language:

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

Retrieves or sets the maximum value of the clip volume.

Definition

Visual Basic .NET Public Property MaxZ As Single
C# public float MaxZ { get; set; }
Managed C++ public: __property float get_MaxZ();
public: __property void set_MaxZ(float);
JScript .NET 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.


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

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