Create a WebXR session, set viewports and update camera from XRViewerPose.
This extension is not supported in hardware decoding mode.
Methods
(async) createSession(settings) → {XRSession}
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
settings |
Object |
Properties
|
Returns:
A Promise that resolves with an XRSession
- Type
- XRSession