ResizeTwoHands() public method

public ResizeTwoHands ( HandTracker otherHand ) : void
otherHand HandTracker
return void
Ejemplo n.º 1
0
        private void HandleTwoHandedActions(HandTracker handTrack)
        {
            var otherHand = this.handTracks.Where(h => h != handTrack && h.HoveredImage == handTrack.HoveredImage).FirstOrDefault();

            if (otherHand == null)
            {
                handTrack.ResizeSingleHand();
            }
            else
            {
                handTrack.ResizeTwoHands(otherHand);
            }
        }
        private void HandleTwoHandedActions(HandTracker handTrack)
        {
            var otherHand = this.handTracks.Where(h => h != handTrack && h.HoveredImage == handTrack.HoveredImage).FirstOrDefault();

            if (otherHand == null)
            {
                handTrack.performLastGestureNumberOfTimes();
                //handTrack.ResizeSingleHand(rec);
            }
            else
            {
                handTrack.ResizeTwoHands(otherHand);
            }
        }
Ejemplo n.º 3
0
 private void HandleTwoHandedActions(HandTracker handTrack)
 {
     var otherHand = this.handTracks.Where(h => h != handTrack && h.HoveredImage == handTrack.HoveredImage).FirstOrDefault();
     if (otherHand == null)
     {
         handTrack.ResizeSingleHand();
     }
     else
     {
         handTrack.ResizeTwoHands(otherHand);
     }
 }