WebXR 版
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
WebXR Device API 可让您在兼容的网络浏览器中访问虚拟现实和增强现实设备。该规范是 Immersive Web Community Group 的成果,该组织的贡献者来自 Google、Microsoft、Mozilla 等公司。XR 中的“X”代表沉浸式体验的方方面面。

借助 WebXR 的增强现实模块,您可以在向用户展示虚拟内容之前,将其与现实环境保持一致。WebXR 使用 ARCore 在 Android 设备上的 Google Chrome 浏览器中提供 AR 体验。
开始
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eThe WebXR Device API enables access to virtual and augmented reality devices within web browsers, fostering immersive web experiences.\u003c/p\u003e\n"],["\u003cp\u003eDeveloped by the Immersive Web Community Group with contributions from major tech companies, WebXR supports a wide range of immersive technologies.\u003c/p\u003e\n"],["\u003cp\u003eWebXR's Augmented Reality module overlays virtual content onto the real world, enhancing user perception and interaction.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Chrome leverages ARCore in conjunction with WebXR to deliver augmented reality experiences on Android devices.\u003c/p\u003e\n"]]],[],null,["# WebXR\n\nThe [WebXR Device API](https://www.w3.org/TR/webxr/) provides access\nto virtual reality and augmented reality devices in compatible web browsers.\nIt is a product of the [Immersive Web Community Group](https://github.com/immersive-web),\nwhich has contributors from Google, Microsoft, Mozilla, and others. The \"X\" in\nXR stands for anything in the spectrum of immersive experiences.\n\nWebXR's Augmented Reality module allows for virtual content to be aligned with\nthe real-world environment before being displayed to users.\nWebXR uses ARCore to power AR experiences on the Google Chrome browser on\nAndroid devices.\n\n[Get started](/ar/develop/webxr/hello-webxr)"]]