This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |