Class BaseGestureRecognizer<T extends BaseGesture<T>>

  • Direct Known Subclasses:
    DragGestureRecognizer, PinchGestureRecognizer, TwistGestureRecognizer

    public abstract class BaseGestureRecognizer<T extends BaseGesture<T>>
    extends java.lang.Object
    Base class for all Gesture Recognizers (i.e. DragGestureRecognizer).

    A Gesture recognizer processes touch input to determine if a gesture should start and fires an event when the gesture is started.

    To determine when an gesture is finished/updated, listen to the events on the gesture object.

    • Constructor Detail

    • Method Detail

      • onTouch

        public void onTouch​(pro.streem.ar.sceneform.HitTestResult hitTestResult,
                            android.view.MotionEvent motionEvent)
      • tryCreateGestures

        protected abstract void tryCreateGestures​(pro.streem.ar.sceneform.HitTestResult hitTestResult,
                                                  android.view.MotionEvent motionEvent)