Hierarchy

Constructors

Accessors

Methods

  • get or create the WebXR AR button

    Parameters

    • Optional init: XRSessionInit

      optional session init options Behaviour of the button:

      • if the device supports AR, the button will be visible and clickable
      • if the device does not support AR, the button will be hidden
      • if the device changes and now supports AR, the button will be visible

    Returns HTMLButtonElement

  • get or create the quicklook button Behaviour of the button:

    • if the button is clicked a USDZExporter component will be searched for in the scene and if found, it will be used to export the scene to USDZ / Quicklook

    Returns HTMLButtonElement

  • get or create the Send To Quest button Behaviour of the button:

    • if the button is clicked, the current URL will be sent to the Oculus Browser on the Quest

    Returns HTMLButtonElement

  • get or create the WebXR VR button

    Parameters

    • Optional init: XRSessionInit

      optional session init options Behaviour of the button:

      • if the device supports VR, the button will be visible and clickable
      • if the device does not support VR, the button will be hidden
      • if the device changes and now supports VR, the button will be visible

    Returns HTMLButtonElement

Generated using TypeDoc