Share via


DepthImageStream.Range Property

Kinect for Windows 1.5, 1.6, 1.7, 1.8

Gets or sets the range for depth data, which determines how close or far away from the Kinect you can be and still be tracked.

Syntax

public DepthRange Range { get; set; }
'Declaration
Public Property Range As DepthRange 

Property Value

Type: DepthRange
The depth data range.

Remarks

Use this property to get or set the depth range; the Kinect has multiple depth ranges, which are listed in the DepthRange enumeration.

The depth ranges determine whether you need to stand closer or farther away from the Kinect to be tracked. To visualize the different depth ranges, see Depth Space Range.

After setting the range, use the overloaded methods in the DepthImageStream.Enable Method topic to enable a Kinect to stream out depth data.

Requirements

Namespace: Microsoft.Kinect

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

See Also

Reference

DepthImageStream Class
DepthImageStream Members
Microsoft.Kinect Namespace