protected void InitPerFrame()
        {
            if (leapHands == null || leapHands.hand == null)
            {
                return;
            }

            // horizontal hand
            if (LeapHands.IsHorizontal(leapHands.hand))
            {
                isRotated = false;
            }
        }
Esempio n. 2
0
 /// check if the hand is horizontal
 public static bool IsHorizontal(Hand hand)
 {
     return(LeapHands.IsHorizontal(hand, rotateScale));
 }