Skip to main content

AROverlay

class AROverlay implements View3DPlugin

An UI that will be displayed on top of WebARSession.
This will be automatically added on the overlayRoot of the WebARSession.

Properties

constructor

new AROverlay(options)

Create new instance of AROverlay

PARAMETERTYPEOPTIONALDEFAULTDESCRIPTION
optionsobject✔️{}Options for the AROverlay

Properties

DEFAULT_CLASS

static

Default class names that AROverlay uses

Type: object

PROPERTYTYPEDESCRIPTION
ROOT"view3d-ar-root"A class name for the root element of AROverlay
CLOSE_BUTTON"view3d-ar-close"A class name for the close button element
DETECTION_ROOT"view3d-ar-detection"A class name for the root element of floor detection annotator
DETECTION_ICON"view3d-ar-detection-icon"A class name for the wrapper element of floor detection icon
DETECTION_TOAST"view3d-ar-detection-toast"A class name for the toast element of floor detection annotator
DETECTION_PHONE"view3d-ar-phone"A class name for the root element of floor detection phone shape
DETECTION_CUBE"view3d-ar-cube"A class name for the root element of floor detection cube
DETECTION_CUBE_FACE"view3d-ar-cube-face"A class name for the face elements of floor detection cube
DETECTION_PLANE"view3d-ar-plane"A class name for the face elements of floor detection plane