Android XR SDK 現已在開發人員預覽版中推出。敬請提供意見回饋!請前往
支援頁面與我們聯絡。
為 Unity、OpenXR 和 WebXR 設計
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Android XR 可與 Unity、OpenXR 和 WebXR 完美搭配運作,讓您建構的應用程式可在各平台上運作。這些 XR 開發工具包含專為創造沉浸式體驗的獨特挑戰而設計的功能。最佳選擇取決於您的專案需求、目標對象和開發人員資源。
Unity、OpenXR 和 WebXR 應用程式
- 可從其他平台移植至 Android XR,且開發成本極低
- 可完全自訂,是使用 Jetpack XR SDK 建構的替代方案
- 只能在完整空間中運作,因為這些應用程式可存取並使用使用者的整個實體空間
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 標誌是 The Khronos Group Inc. 擁有的商標,並已在中國、歐盟、日本和英國註冊為商標。
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-07-27 (世界標準時間)。
[null,null,["上次更新時間: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."]]