Function: enableXR()
enableXR(
scene,options):WebXRSession
Defined in: src/core/WebXR.ts:317
Enable opt-in WebXR output for a scene.
Returns an inert WebXRSession; nothing happens to the default render path until WebXRSession.enterXR is called.
Parameters
scene
The scene to view in a headset.
options
WebXROptions = {}
Session configuration. See WebXROptions.