Skip to main content

Interface: AdapterCapabilities

Defined in: runtime-adapter.ts:50

XR capabilities services gate on (e.g. passthrough requires immersive).

Properties

PropertyModifierTypeDescriptionDefined in
environmentBlendModereadonly| EnvironmentBlendMode | nullWhich blend mode, where AdapterCapabilities.passthrough only says whether there is one. The two passthrough modes behave oppositely, so a service that draws for one draws wrongly for the other: dimming the world on an "additive" display means drawing brighter, not darker. null where there is no session, or where the host reports a value WebXR does not define.runtime-adapter.ts:64
handTrackingreadonlyboolean-runtime-adapter.ts:52
immersivereadonlyboolean-runtime-adapter.ts:51
passthroughreadonlybooleanTrue for any blend mode other than "opaque": the world shows through.runtime-adapter.ts:55
planeDetectionreadonlyboolean-runtime-adapter.ts:53