Page Summary
-
TwistGestureRecognizer detects two-finger twist motions on a touchscreen for user interaction in AR scenes.
-
It provides a listener to be notified when a twist gesture begins (OnGestureStartedListener).
-
It inherits functionalities from BaseGestureRecognizer to manage gestures and touch events.
-
Developers can use tryCreateGestures to handle gesture creation based on hitTestResult and motionEvent.
Gesture Recognizer for when the user performs a two-finger twist motion on the touch screen.
Nested Classes
| interface | TwistGestureRecognizer.OnGestureStartedListener | Interface definition for a callbacks to be invoked when a TwistGesture starts. |
|
Inherited Fields
Public Constructors
|
TwistGestureRecognizer(GesturePointersUtility gesturePointersUtility)
|
Protected Methods
| void |
Inherited Methods
Public Constructors
public TwistGestureRecognizer (GesturePointersUtility gesturePointersUtility)
Parameters
| gesturePointersUtility |
|---|
Protected Methods
protected void tryCreateGestures (HitTestResult hitTestResult, MotionEvent motionEvent)
Parameters
| hitTestResult | |
|---|---|
| motionEvent |