Android XR SDK 现已推出开发者预览版。我们期望收到您的反馈!请访问我们的
支持页面与我们联系。
针对 Unity、OpenXR 和 WebXR 进行设计
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Android XR 可与 Unity、OpenXR 和 WebXR 无缝协作,因此您可以构建跨平台兼容的应用。这些 XR 开发工具包含专为应对打造沉浸式体验的独特挑战而设计的功能。最佳选择取决于您的项目要求、目标受众群体和开发者资源。
Unity、OpenXR 和 WebXR 应用
- 可从其他平台移植到 Android XR,且开发工作量极少
- 可完全自定义,是使用 Jetpack XR SDK 构建应用的替代方案
- 仅在 Full Space 中运行,因为它们可以访问和使用用户的整个物理空间
Android XR 支持开放标准,因此您可以创建与各种设备和受众群体兼容的应用。选择符合您需求的开发方法。
使用 Unity 进行开发
Unity 是一款广泛使用的实时 3D 引擎,用于创建交互式 2D 和 3D 内容。它提供了一套全面的工具,包括可视化编辑器、脚本功能和庞大的素材资源库。它提供预构建的组件、可视化脚本和支持社区。
Unity 支持创意实验、快速迭代和质量测试。
使用 Unity 进行开发
|
使用 OpenXR 进行开发
OpenXR 是一项免版税的开放标准,用于构建可跨平台和硬件兼容的 XR 应用。这样,您就可以编写低级代码,并打造可供大众使用且可适应各种设备的 XR 体验。
由于更接近底层的实现和硬件优化,OpenXR 可提供更出色的性能。
使用 OpenXR 进行开发
|
使用 WebXR 进行开发
WebXR 是一种 API,可让用户直接在网络浏览器中体验 XR,而无需下载特殊应用。任何拥有兼容浏览器的用户都可以访问 WebXR 体验,从而有望覆盖更广泛的受众群体。
分享 WebXR 体验就像分享网址一样简单。非常适合在各种平台上运行的顺畅 XR 体验。
使用 WebXR 进行开发
|
OpenXR™ 和 OpenXR 徽标是 Khronos Group Inc. 拥有的商标,已在中国、欧盟、日本和英国注册为商标。
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[null,null,["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# Design for Unity, OpenXR, and WebXR\n\nAndroid XR works seamlessly with Unity, OpenXR, and WebXR so you can build an\napp that's compatible across platforms. These XR development tools include\nfeatures tailored to the unique challenges of creating immersive experiences.\nThe [best choice](/develop/xr/get-started#select-development) depends on your project requirements, target audience, and\ndeveloper resources.\n\n**Unity, OpenXR, and WebXR apps**\n\n- Can port to Android XR from another platform with minimal development lift\n- Are fully customizable and are alternatives to building with the [Jetpack XR SDK](/develop/xr/jetpack-xr-sdk)\n- Only operate in Full Space, as they have access to and can use the entirety of a user's physical space\n\nStart with the technology and tools you are familiar with\n---------------------------------------------------------\n\nAndroid XR supports open standards so you can create an app that's compatible\nwith a wide range of devices and audiences. Select the development approach that\nsuits your needs.\n\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### Develop with Unity [Unity](https://unity.com/products/unity-engine) is a widely-used realtime 3D engine for creating interactive 2D and 3D content. It offers a comprehensive suite of tools, including a visual editor, scripting capabilities, and a large asset library. It provides prebuilt components, visual scripting, and a supportive community. Unity supports creative experimentation, quick iterations, and quality testing. [Develop with Unity](/develop/xr/unity) | ### Develop with OpenXR [OpenXR](https://www.khronos.org/OpenXR/) is a royalty-free, open standard to build XR apps that are compatible across platforms and hardware. This lets you to write low-level code and create XR experiences that are accessible and adaptable to a wide range of devices. OpenXR offers improved performance due to closer-to-the-metal implementations and hardware optimizations. [Develop with OpenXR](/develop/xr/openxr) | ### Develop with WebXR [WebXR](https://immersiveweb.dev/) is an API that allows users to experience XR directly in a web browser, without having to download a special app. Anyone with a compatible browser can access WebXR experiences, potentially reaching a larger audience. Sharing WebXR experiences is as simple as sharing a URL. It's ideal for no-friction XR experiences that can run on a wide range of platforms. [Develop with WebXR](/develop/xr/develop-with-webxr) |\n\n*** ** * ** ***\n\nOpenXR™ and the OpenXR logo are trademarks owned\nby The Khronos Group Inc. and are registered as a trademark in China,\nthe European Union, Japan and the United Kingdom."]]