Compartir a través de


Viewport.MaxZ Property

Gets or sets the maximum value of the clip volume.

Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)

Syntax

'Declaration
Public Property MaxZ As Single
'Usage
Dim instance As Viewport
Dim value As Single

value = instance.MaxZ

instance.MaxZ = value
public float MaxZ { get; set; }
public:
property float MaxZ {
    float get ();
    void set (float value);
}
/** @property */
public float get_MaxZ ()

/** @property */
public void set_MaxZ (float value)
public function get MaxZ () : float

public function set MaxZ (value : float)
Not applicable.

Property Value

The maximum z-value of the clipping volume.

Remarks

This property, 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.

Platforms

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

Viewport Structure
Viewport Members
Microsoft.WindowsMobile.DirectX.Direct3D Namespace