Пример #1
0
 /// <summary>
 /// Gets the number of Kinect devices connected
 /// </summary>
 /// <remarks>
 /// This is just a support function for the Kinect.DeviceCount property
 /// </remarks>
 /// <returns>
 /// Number of Kinect devices connected.
 /// </returns>
 private static int GetDeviceCount()
 {
     // Now we can just return w/e native method puts out
     return(KinectNative.freenect_num_devices(KinectNative.Context));
 }