//Method for setting leap controller and gesture configurations. protected void SetGestureCondition() { _gestureType = GestureType.circle; _leap_controller = ControllerSetter.SetConfig(_gestureType); GestureSetting.SetGestureCondition(this, MountType, CircleDirection, MinProgress, UseArea, UsingHand); }
protected void SetGestureCondition() { _gestureType = GestureType.grabhand; _leap_controller = ControllerSetter.SetConfig(_gestureType); GestureSetting.SetGestureCondition(this, MountType, UseArea, UsingHand); }
//----------------------------------------------------------------------- protected void SetGestureCondition(SwipeDirection swipeDirection, int sensitivity, UseArea useArea) { _gestureType = GestureType.swipe; _leap_controller = ControllerSetter.SetConfig(_gestureType); GestureSetting.SetGestureCondition(this, swipeDirection, sensitivity, useArea, UsingHand); }