TwistGestureRecognizer

  • 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.

public class TwistGestureRecognizer

Gesture Recognizer for when the user performs a two-finger twist motion on the touch screen.

Nested Classes

interface
Interface definition for a callbacks to be invoked when a TwistGesture starts. 

Inherited Fields

Public Constructors

Protected Methods

void
tryCreateGestures ( HitTestResult hitTestResult, MotionEvent motionEvent)

Inherited Methods

Public Constructors

public TwistGestureRecognizer ( GesturePointersUtility gesturePointersUtility)

Parameters
gesturePointersUtility

Protected Methods

protected void tryCreateGestures ( HitTestResult hitTestResult, MotionEvent motionEvent)

Parameters
hitTestResult
motionEvent
Design a Mobile Site
View Site in Mobile | Classic
Share by: