Class DragGesture


  • public class DragGesture
    extends BaseGesture<DragGesture>
    Gesture for when the user performs a drag motion on the touch screen.
    • Constructor Detail

      • DragGesture

        public DragGesture​(GesturePointersUtility gesturePointersUtility,
                           pro.streem.ar.sceneform.HitTestResult hitTestResult,
                           android.view.MotionEvent motionEvent)
    • Method Detail

      • getPosition

        public pro.streem.ar.sceneform.math.Vector3 getPosition()
      • getDelta

        public pro.streem.ar.sceneform.math.Vector3 getDelta()
      • canStart

        protected boolean canStart​(pro.streem.ar.sceneform.HitTestResult hitTestResult,
                                   android.view.MotionEvent motionEvent)
        Specified by:
        canStart in class BaseGesture<DragGesture>
      • onStart

        protected void onStart​(pro.streem.ar.sceneform.HitTestResult hitTestResult,
                               android.view.MotionEvent motionEvent)
        Specified by:
        onStart in class BaseGesture<DragGesture>
      • updateGesture

        protected boolean updateGesture​(pro.streem.ar.sceneform.HitTestResult hitTestResult,
                                        android.view.MotionEvent motionEvent)
        Specified by:
        updateGesture in class BaseGesture<DragGesture>