Share via


DepthImageStream.MaxDepth Property

Kinect for Windows 1.5, 1.6, 1.7, 1.8

Gets the maximum depth value (in millimeters) for the depth sensor range.

Syntax

public int MaxDepth { get; }
'Declaration
Public ReadOnly Property MaxDepth As Integer 

Property Value

Type: Int32
The maximum depth value, in millimeters.

Remarks

There is more than one depth range. You may need to use the DepthImageStream.Range property to see what the current depth range is before checking to see what its minimum or maximum depth value is.

Requirements

Namespace: Microsoft.Kinect

Assembly: Microsoft.Kinect (in microsoft.kinect.dll)

See Also

Reference

DepthImageStream Class
DepthImageStream Members
Microsoft.Kinect Namespace