• Sceneform SDK for Android was open sourced and archived (github.com/google-ar/sceneform-android-sdk) with version 1.16.0.
  • This site (developers.google.com/sceneform) serves as the documentation archive for the previous version, Sceneform SDK for Android 1.15.0.
  • Do not use version 1.17.0 of the Sceneform Maven artifacts.
  • The 1.17.1 Maven artifacts can be used. Other than the version, however, the 1.17.1 artifacts are identical to the 1.15.0 artifacts.

DragGestureRecognizer

public class DragGestureRecognizer

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

Protected Methods

void
tryCreateGestures(HitTestResult hitTestResult, MotionEvent motionEvent)

Inherited Methods

Public Constructors

public DragGestureRecognizer (GesturePointersUtility gesturePointersUtility)

Parameters
gesturePointersUtility

Protected Methods

protected void tryCreateGestures (HitTestResult hitTestResult, MotionEvent motionEvent)

Parameters
hitTestResult
motionEvent