Share via


KinectSensor.GetDefault Method

Gets the default sensor.

Syntax

public:
static KinectSensor^ GetDefault()
public static KinectSensorGetDefault ()
var kinectSensor = WindowsPreview.Kinect.KinectSensor.getDefault();

Return value

Type: KinectSensor
The default sensor.

Requirements

Namespace: WindowsPreview.Kinect

Metadata: windowspreview.kinect.winmd

See also

Reference

KinectSensor Class
WindowsPreview.Kinect Namespace