次の方法で共有


Viewport.MinDepth Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the minimum depth of the clip volume.

Namespace:  Microsoft.Xna.Framework.Graphics
Assembly:  Microsoft.Xna.Framework.Graphics (in Microsoft.Xna.Framework.Graphics.dll)

Syntax

'Declaration
Public Property MinDepth As Single
public float MinDepth { get; set; }

Property Value

Type: System.Single
The minimum depth of the clipping volume.

Remarks

MinDepth, together with MinDepth, specifies the range of depth values into which a scene is rendered. Most applications set this value to 0.0. Clipping is performed after the projection matrix is applied.

Version Information

Silverlight

Supported in: 5

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.