public BodyRemovedEventArgs(TrackedBody trackedBody, bool didEngage)
 {
     this.TrackingId  = trackedBody.TrackingId;
     this.TrackedBody = trackedBody;
     this.DidEngage   = didEngage;
 }
Exemple #2
0
 private static bool IsHandBelowMidSpine(JointType jointType, TrackedBody body)
 {
     return(body.Joints[jointType].Position.Y <
            body.Joints[JointType.SpineMid].Position.Y);
 }