v147 · WebXR · demo
Capability Inspector
Check whether this browser and device support WebXR with plane detection — and explore the XRPlane object that the API surfaces for each detected surface.
navigator.xr — WebXR Device API
checking…
The WebXR Device API is the foundation for all WebXR features. Without it, plane detection is unavailable.
immersive-ar session type
checking…
Plane detection is only available inside an immersive-ar session — the mode where the device's camera feed is composited with virtual content.
plane-detection optional feature
checking…
When requesting an AR session, opt in to plane detection with the optionalFeatures array. The browser will only include plane data if the device hardware and OS support it.
XRFrame.detectedPlanes
checking…
Each animation frame provides an XRPlaneSet — an iterable of all planes detected so far. Planes persist across frames and update as the tracking system refines their geometry.
Live capability probe
"horizontal" for floors, tables, shelves. "vertical" for walls and doors.XRFrame.getPose(plane.planeSpace, refSpace) to get the plane's transform in world space.see also
- Plane Visualizer — 2D simulation of a plane detection session
- Back to feature index
- ChromeStatus entry