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

            return(gestureSegments);
        }