Share via


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)

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.

.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