PlaneDiscoveryController

  • PlaneDiscoveryController manages the display of instructions for plane discovery in AR experiences.

  • It allows customization of the instruction view or removal if desired.

  • Developers can use show() and hide() methods to control the visibility of plane discovery instructions.

  • setInstructionView() enables setting a custom view for guiding users.

public class PlaneDiscoveryController

This view manages showing the plane discovery instructions view. You can assign into the planeDiscoveryView to override the default visual, or assign null to remove it.

Public Constructors

PlaneDiscoveryController(View planeDiscoveryView)

Public Methods

void
hide()
Hide the plane discovery UX instructions.
void
setInstructionView(View view)
Set the instructions view to present over the Sceneform view.
void
show()
Show the plane discovery UX instructions for finding a plane.

Inherited Methods

Public Constructors

public PlaneDiscoveryController (View planeDiscoveryView)

Parameters
planeDiscoveryView

Public Methods

public void hide ()

Hide the plane discovery UX instructions.

public void setInstructionView (View view)

Set the instructions view to present over the Sceneform view.

Parameters
view

public void show ()

Show the plane discovery UX instructions for finding a plane.