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