XR · interface
EnterXrOptions
Explained in XR.
interface EnterXrOptionsimport type { EnterXrOptions } from '@driftengine/xr';Properties
| Name | Type | Description |
|---|---|---|
modereadonlyoptional | XrMode | |
optionalFeaturesreadonlyoptional | readonly string[] | Passed to requestSession. hand-tracking is here rather than required. |
sourcesreadonly | LayerSources | |
systemreadonlyoptional | XrSystem | null | Override the system, which is how a test drives this without a headset. |