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