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

PinchGestureRecognizer

public class PinchGestureRecognizer

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

Nested Classes

interface PinchGestureRecognizer.OnGestureStartedListener Interface definition for a callbacks to be invoked when a PinchGesture starts. 

Inherited Fields

Public Constructors

Protected Methods

void
tryCreateGestures(HitTestResult hitTestResult, MotionEvent motionEvent)

Inherited Methods

Public Constructors

public PinchGestureRecognizer (GesturePointersUtility gesturePointersUtility)

Parameters
gesturePointersUtility

Protected Methods

protected void tryCreateGestures (HitTestResult hitTestResult, MotionEvent motionEvent)

Parameters
hitTestResult
motionEvent