private static OneHandGestureSegment[] GetOneHandSegments(JointType dominantHand) { OneHandGestureSegment[] relativeGestureSegments = new OneHandGestureSegment[2]; relativeGestureSegments[0] = SwipeDownGestureSegment1.Using(dominantHand); relativeGestureSegments[1] = SwipeDownGestureSegment2.Using(dominantHand); return(relativeGestureSegments); }
private static OneHandGestureSegment[] GetOffHandRaisedSegments(JointType dominantHand) { OneHandGestureSegment[] gestureSegments = new OffHandNonIdleGestureSegment[2]; gestureSegments[0] = SwipeDownGestureSegment1.WithOffHandRaised(dominantHand); gestureSegments[1] = SwipeDownGestureSegment2.WithOffHandRaised(dominantHand); return(gestureSegments); }
private static TwoHandGestureSegment[] GetTwoHandGestureSegments() { TwoHandGestureSegment[] gestureSegments = new TwoHandGestureSegment[2]; gestureSegments[0] = SwipeDownGestureSegment1.UsingTwoHands(); gestureSegments[1] = SwipeDownGestureSegment2.UsingTwoHands(); return(gestureSegments); }