XR · interface

EnterXrOptions

Explained in XR.

interface EnterXrOptions
import type { EnterXrOptions } from '@driftengine/xr';

Properties

NameTypeDescription
modereadonlyoptionalXrMode
optionalFeaturesreadonlyoptionalreadonly string[]Passed to requestSession. hand-tracking is here rather than required.
sourcesreadonlyLayerSources
systemreadonlyoptionalXrSystem | nullOverride the system, which is how a test drives this without a headset.