Files
nexus/wiki/concepts/WebXR.md
2026-04-25 04:02:51 +08:00

1.7 KiB
Raw Blame History

title, type, tags, sources, last_updated
title type tags sources last_updated
WebXR concept
xr-immersive-developer
2026-04-20

Definition

WebXR Device API 是 W3C 定义的浏览器原生标准 API使网页能够创建沉浸式 AR/VR/XR 体验无需安装原生应用。XR Immersive Developer 的核心技术栈基础。

Architecture

Browser (WebXR Device API)
    ├── WebXR Device API (W3C Spec)
    │   ├── XRSession (AR/VR/inline)
    │   ├── XRWebGLLayer (GPU rendering)
    │   ├── XRReferenceSpace (tracking)
    │   └── XRInputSource (controllers/hands)
    ├── XR Frameworks
    │   ├── A-Frame (Mozilla, declarative)
    │   ├── Three.js (WebGL abstraction)
    │   └── Babylon.js (Microsoft, full-featured)
    └── Hardware Targets
        ├── [[Meta-Quest]] (via Oculus Browser)
        ├── [[Vision-Pro]] (via Safari)
        ├── [[HoloLens]] (via Edge)
        └── [[Mobile-AR]] (ARKit/ARCore via Chrome Android)

Supported Input Modes

  • Controller6DoF 手柄追踪
  • Hand Tracking裸手追踪WebXR Hand Input Module
  • Gaze:注视点交互
  • Pinch:捏合手势

Key Concepts

Browser Support

  • Chrome/Edge桌面 + Android
  • Firefox Reality
  • SafariVision-Pro / iOS
  • Oculus BrowserMeta-Quest