Interface: XRButtonOptions
Defined in: src/core/WebXR.ts:56
Options for WebXRSession.createButton.
Properties
enterText?
optionalenterText:string
Defined in: src/core/WebXR.ts:58
Label shown when a session can be started. Defaults to 'Enter VR'.
exitText?
optionalexitText:string
Defined in: src/core/WebXR.ts:60
Label shown while a session is active. Defaults to 'Exit VR'.
unsupportedText?
optionalunsupportedText:string
Defined in: src/core/WebXR.ts:62
Label shown when the mode is unsupported. Defaults to 'VR not supported'.