Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WebXREnterExitUI

UI to allow the user to enter/exit XR mode

Hierarchy

  • WebXREnterExitUI

Implements

Index

Properties

activeButtonChangedObservableSearch playground for activeButtonChangedObservable

activeButtonChangedObservable: Observable<Nullable<WebXREnterExitUIButton>>

Fired every time the active button is changed.

When xr is entered via a button that launches xr that button will be the callback parameter

When exiting xr the callback parameter will be null)

optionsSearch playground for options

version of the options passed to this UI

Readonly overlaySearch playground for overlay

overlay: HTMLDivElement

The HTML Div Element to which buttons are added.

Methods

disposeSearch playground for dispose

  • dispose(): void
  • Disposes of the XR UI component

    Returns void

Static CreateAsyncSearch playground for CreateAsync

  • Creates UI to allow the user to enter/exit XR mode

    Parameters

    Returns Promise<WebXREnterExitUI>

    the created ui

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method