Interface BaseArFragment.OnTapArPlaneListener

  • Enclosing class:
    BaseArFragment

    public static interface BaseArFragment.OnTapArPlaneListener
    Invoked when an ARCore plane is tapped.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onTapPlane​(com.google.ar.core.HitResult hitResult, com.google.ar.core.Plane plane, android.view.MotionEvent motionEvent)
      Called when an ARCore plane is tapped.
    • Method Detail

      • onTapPlane

        void onTapPlane​(com.google.ar.core.HitResult hitResult,
                        com.google.ar.core.Plane plane,
                        android.view.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
        See Also:
        BaseArFragment.setOnTapArPlaneListener(OnTapArPlaneListener)