Share via


KinectRegion.KinectSensor Property

Kinect for Windows 1.7, 1.8

Gets or sets the Kinect Sensor associated with this KinectRegion.

Syntax

public KinectSensor KinectSensor { get; set; }

Property Value

Type: KinectSensor
The associated sensor.

Remarks

Binding a KinectRegion to a Kinect Sensor

For a KinectRegion to use a Kinect sensor, the sensor that you associate to a KinectRegion must have the depth stream enabled at 640x480 resolution, and it must have the skeleton stream enabled. Interaction will not work properly if either of these streams are disabled or in a different mode. Near mode is supported.

If the application wishes to stop Kinect interaction within the KinectRegion, it should set the KinectSensor property on the KinectRegion to null.

Requirements

Namespace: Microsoft.Kinect.Toolkit.Controls

Assembly: Microsoft.Kinect.Toolkit.Controls (in microsoft.kinect.toolkit.controls.dll)

See Also

Reference

KinectRegion Class
KinectRegion Members
Microsoft.Kinect.Toolkit.Controls Namespace