Skip to content

Instantly share code, notes, and snippets.

View Aesir's full-sized avatar

Bryan Anderson Aesir

  • Bifurcant Software, LLC
  • USA
View GitHub Profile
@Aesir
Aesir / gist:1458553
Created December 11, 2011 05:20
Example of SkeletonTracking
var st = new SkeletonTracking();
//If you want to know if a skeleton is currently being tracked by the Kinect
//SkeletonPresent produces a "True" value every time the Kinect changes from
//not tracking anyone and a "False" if there is no longer anyone to track
st.SkeletonPresent.Subscribe(
p =>
{
if (p)
Console.ForegroundColor = ConsoleColor.Green;