Condividi tramite


Viewport.MinZ Property

Gets or sets the minimum value of the clip volume.

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

Syntax

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

value = instance.MinZ

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

/** @property */
public void set_MinZ (float value)
public function get MinZ () : float

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

Property Value

The minimum z-value of the clipping volume.

Remarks

This property, together with MaxZ, 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