/// <summary> /// launch the update on all gestures relying on skeleton datas /// </summary> /// <param name="skel">the skeleton datas</param> /// <param name="gesture_context">the context when the gesture is triggered</param> public void UpdateAllGestures(Skeleton skel, ContextGesture gesture_context) { foreach (BodyGesture bg in this.gestures) { bg.updateGesture(skel, gesture_context); } }
/// <summary> /// default constructor /// </summary> /// <param name="b">a bodygesture event</param> /// <param name="h">a handgesture event</param> /// <param name="c">the context of the gesture</param> public GestureDatas(BodyGestureEvent b = null, HandGestureDatas h = null, ContextGesture c = null) { this.bodyGestureEventData = b; this.handGestureEventData = h; this.contextGestureDatas = c; }