WebXREnterExitUIButton

Button which can be used to enter a different mode of XR

Hierarchy

  • WebXREnterExitUIButton

Index

Constructors

Properties

Methods

Constructors

constructor

Find examples in Playground

Properties

element

Find examples in Playground
element: HTMLElement

button element

initializationOptions

Find examples in Playground
initializationOptions: XRSessionCreationOptions

XR initialization options for the button

Methods

update

Find examples in Playground
  • Overwritable function which can be used to update the button's visuals when the state changes

    Parameters

    Returns void

Generated using TypeDoc