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

Send feedback about...