private static TwoHandGestureSegment[] GetTwoHandSegments() { TwoHandGestureSegment[] gestureSegments = new TwoHandGestureSegment[2]; gestureSegments[0] = SwipeRightGestureSegment1.UsingTwoHands(); gestureSegments[1] = SwipeRightGestureSegment2.UsingTwoHands(); return(gestureSegments); }
private static OneHandGestureSegment[] GetSegments(JointType dominantHand) { OneHandGestureSegment[] relativeGestureSegments = new OneHandGestureSegment[2]; relativeGestureSegments[0] = SwipeRightGestureSegment1.Using(dominantHand); relativeGestureSegments[1] = SwipeRightGestureSegment2.Using(dominantHand); return(relativeGestureSegments); }
private static OneHandGestureSegment[] GetOffHandRaisedSegments(JointType dominantHand) { OneHandGestureSegment[] gestureSegments = new OffHandNonIdleGestureSegment[2]; gestureSegments[0] = SwipeRightGestureSegment1.WithOffHandRaised(dominantHand); gestureSegments[1] = SwipeRightGestureSegment2.WithOffHandRaised(dominantHand); return(gestureSegments); }