private static TwoHandGestureSegment[] GetTwoHandGestureSegments() { TwoHandGestureSegment[] gestureSegments = new TwoHandGestureSegment[2]; gestureSegments[0] = SwipeUpGestureSegment1.UsingTwoHands(); gestureSegments[1] = SwipeUpGestureSegment2.UsingTwoHands(); return(gestureSegments); }
private static OneHandGestureSegment[] GetSegments(JointType dominantHand) { OneHandGestureSegment[] relativeGestureSegments = new OneHandGestureSegment[2]; relativeGestureSegments[0] = SwipeUpGestureSegment1.Using(dominantHand); relativeGestureSegments[1] = SwipeUpGestureSegment2.Using(dominantHand); return(relativeGestureSegments); }
private static OneHandGestureSegment[] GetOffHandSegments(JointType dominantHand) { OneHandGestureSegment[] gestureSegments = new OffHandNonIdleGestureSegment[2]; gestureSegments[0] = SwipeUpGestureSegment1.WithOffHandRaised(dominantHand); gestureSegments[1] = SwipeUpGestureSegment2.WithOffHandRaised(dominantHand); return(gestureSegments); }