private HandOpened InitializeHandOpened(HandToWatch hand) { var gesture = new HandOpened(hand); _detector.RegisterGesture(gesture); return(gesture); }
private GrabAndThrow InitializeGrabAndThrow(HandToWatch hand) { var gesture = new GrabAndThrow(hand); _detector.RegisterGesture(gesture); return(gesture); }
public GrabAndThrow(HandToWatch handToWatch) { _handToWatch = handToWatch == HandToWatch.HandLeft ? JointType.HandLeft : JointType.HandRight; }
private HandClosed InitializeHandClosed(HandToWatch hand) { var gesture = new HandClosed(hand); _detector.RegisterGesture(gesture); return gesture; }
private GrabAndThrow InitializeGrabAndThrow(HandToWatch hand) { var gesture = new GrabAndThrow(hand); _detector.RegisterGesture(gesture); return gesture; }
public HandClosed(HandToWatch handToWatch) { _handToWatch = handToWatch == HandToWatch.HandLeft ? JointType.HandLeft : JointType.HandRight; }