Share via


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)

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.

.NET Framework Security

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Platforms

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

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

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