Page Summary
-
DragGestureRecognizerdetects drag motions on the touch screen for user interaction in AR scenes. -
It provides a listener,
OnGestureStartedListener, to respond when a drag gesture begins. -
The
tryCreateGesturesmethod is responsible for initiating drag gestures based on touch input and hit test results. -
It inherits functionality from
BaseGestureRecognizerfor managing gestures and touch events.
Gesture Recognizer for when the user performs a drag motion on the touch screen.
Nested Classes
| interface | DragGestureRecognizer.OnGestureStartedListener | Interface definition for a callbacks to be invoked when a DragGesture starts. |
|
Inherited Fields
Public Constructors
|
DragGestureRecognizer(GesturePointersUtility gesturePointersUtility)
|
Protected Methods
| void |
Inherited Methods
Public Constructors
public DragGestureRecognizer (GesturePointersUtility gesturePointersUtility)
Parameters
| gesturePointersUtility |
|---|
Protected Methods
protected void tryCreateGestures (HitTestResult hitTestResult, MotionEvent motionEvent)
Parameters
| hitTestResult | |
|---|---|
| motionEvent |