WebXREnterExitUIOptions

Options to create the webXR UI

Hierarchy

  • WebXREnterExitUIOptions

Index

Properties

Optional customButtons

Find examples in Playground
customButtons: Array<WebXREnterExitUIButton>

User provided buttons to enable/disable WebXR. The system will provide default if not set

Optional referenceSpaceType

Find examples in Playground
referenceSpaceType: XRReferenceSpaceType

A reference space type to use when creating the default button. Default is local-floor

Optional renderTarget

Find examples in Playground

Context to enter xr with

Optional sessionMode

Find examples in Playground
sessionMode: XRSessionMode

A session mode to use when creating the default button. Default is immersive-vr

Generated using TypeDoc