get or create the WebXR AR button
Optional
init: XRSessionInitoptional session init options Behaviour of the button:
please use ButtonsFactory.getOrCreate().createQRCode(). This method will be removed in a future update
get or create the quicklook button Behaviour of the button:
get or create the Send To Quest button Behaviour of the button:
get or create the WebXR VR button
Optional
init: XRSessionInitoptional session init options Behaviour of the button:
Static
getGenerated using TypeDoc
Factory to create WebXR buttons for AR, VR, Quicklook and Send to Quest
The buttons are created as HTMLButtonElements and can be added to the DOM.
The buttons will automatically hide when a XR session is started and show again when the session ends.