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

BaseArFragment.OnTapArPlaneListener

public static interface BaseArFragment.OnTapArPlaneListener

Invoked when an ARCore plane is tapped.

Public Methods

abstract void
onTapPlane(HitResult hitResult, Plane plane, MotionEvent motionEvent)
Called when an ARCore plane is tapped.

Public Methods

public abstract void onTapPlane (HitResult hitResult, Plane plane, MotionEvent motionEvent)

Called when an ARCore plane is tapped. The callback will only be invoked if no Node was tapped.

Parameters
hitResult The ARCore hit result that occurred when tapping the plane
plane The ARCore Plane that was tapped
motionEvent the motion event that triggered the tap