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