Skip to main content

Interface: AdapterCapabilities

Defined in: service-framework/src/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.service-framework/src/runtime-adapter.ts:64
handTrackingreadonlyboolean-service-framework/src/runtime-adapter.ts:52
immersivereadonlyboolean-service-framework/src/runtime-adapter.ts:51
passthroughreadonlybooleanTrue for any blend mode other than "opaque": the world shows through.service-framework/src/runtime-adapter.ts:55
planeDetectionreadonlyboolean-service-framework/src/runtime-adapter.ts:53