更新 Windows Mixed Reality 的 SteamVR 應用程式Updating SteamVR apps for Windows Mixed Reality

我們鼓勵開發人員測試 SteamVR 體驗,並將其優化,以在 Windows Mixed Reality 耳機上執行。We encourage developers to test and optimize their SteamVR experiences to run on Windows Mixed Reality headsets. 本檔涵蓋您可以進行的一般改進,讓您的體驗在 Windows Mixed Reality 上表現良好。This documentation covers common improvements you can make to get your experiences running great on Windows Mixed Reality.

初始安裝指示Initial setup instructions

若要開始在 Windows Mixed Reality 上測試您的遊戲或應用程式,請務必先遵循我們的 快速入門手冊。To start testing out your game or app on Windows Mixed Reality make sure to first follow our getting started guide.

控制器模型Controller Models

  1. 如果您的應用程式呈現控制器模型:If your app renders controller models:
  2. 具有 handedness 概念的體驗應從輸入 Api 取得提示,以區分控制器 (Unity 範例) Experiences that have a notion of handedness should get hints from the input APIs to differentiate controllers (Unity example)

控制項Controls

設計或調整控制項版面配置時,請記住下列保留的命令集:When designing or adjusting your control layout, keep in mind the following set of reserved commands:

  1. 按一下向下 和向右類比操縱杆 會保留給 流儀表板Clicking down the left and right analog thumbstick is reserved for the Steam Dashboard.

注意

如果您使用的是「HP 回音」 G2 控制器,則按一下右邊的功能表按鈕會保留給「 流」儀表板If you're using an HP Reverb G2 controller, clicking the right menu button is reserved for the Steam Dashboard.

  1. Windows 按鈕 一律會將使用者傳回到 Windows Mixed Reality 首頁。The Windows button will always return users to the Windows Mixed Reality home.

可能的話,預設為以操縱杆為基礎的遙傳,以符合 Windows Mixed Reality home 遙傳行為If possible, default to thumbstick-based teleportation to match the Windows Mixed Reality home teleportation behavior

工具提示和 UITooltips and UI

許多的 VR 遊戲都利用移動控制器工具提示和覆迭,來教授使用者的應用程式或遊戲最重要的命令。Many VR games take advantage of motion controller tooltips and overlays to teach users their app or games most important commands. 當您調整應用程式以進行 Windows Mixed reality 時,建議您複習這部分的體驗,以確定工具提示對應至 Windows 控制器模型。When tuning your application for Windows Mixed reality, we recommend reviewing this part of your experience to make sure the tooltips map to the Windows controller models.

此外,如果您的體驗中有任何點顯示控制器影像,請務必使用 Windows Mixed Reality 的動作控制器來提供更新的影像。Additionally if there are any points in your experience where you display images of the controllers make sure to provide updated images using the Windows Mixed Reality motion controllers.

HapticsHaptics

Windows 10 2018 年4月更新開始,現在支援在 Windows Mixed Reality 上使用 Haptics 的 SteamVR 體驗。Beginning with the Windows 10 April 2018 Update, haptics are now supported for SteamVR experiences on Windows Mixed Reality. 如果您的 SteamVR 應用程式或遊戲已包含對 haptics 的支援,現在應該就能 (與 Windows Mixed Reality 的 動作控制器沒有額外的工作) 。If your SteamVR app or game already includes support for haptics, it should now work (with no additional work) with Windows Mixed Reality motion controllers.

Windows Mixed Reality 移動控制器使用標準 haptics 馬達,而不是在其他某些 SteamVR 運動控制器中找到的線性傳動器。Windows Mixed Reality motion controllers use a standard haptics motor, as opposed to the linear actuators found in some other SteamVR motion controllers. 這可能會導致與預期的使用者體驗稍有不同。This can lead to a slightly different-than-expected user experience. 因此,我們建議您使用 Windows Mixed Reality 的動作控制器來測試及調整您的 haptics 設計。So, we recommend testing and tuning your haptics design with Windows Mixed Reality motion controllers. 例如,有時候短 haptic 脈衝 (5-10 ms) 在 Windows Mixed Reality 的移動控制器上比較不明顯。For example, sometimes short haptic pulses (5-10 ms) are less noticeable on Windows Mixed Reality motion controllers. 若要產生更顯著的脈衝,請試著傳送較長的「按一下」 (40-70 ms) ,讓馬達在被告知關閉電源之前,更有時間啟動。To produce a more noticeable pulse, experiment with sending a longer “click” (40-70 ms) to give the motor more time to spin up before being told to power off again.

從 Windows Mixed Reality [開始] 功能表啟動 SteamVR 應用程式Launching SteamVR apps from Windows Mixed Reality Start menu

針對透過流散發的 VR 體驗,我們已 更新 SteamVR 的 Windows Mixed Reality 以及最新的 Windows 版本For VR experiences distributed through Steam, we've updated Windows Mixed Reality for SteamVR along with the latest Windows releases. SteamVR 標題現在會自動顯示在 [所有應用程式] 清單的 Windows Mixed Reality [開始] 功能表中。SteamVR titles now show up in the Windows Mixed Reality Start menu in the "All apps" list automatically.

若要顯示標題的 Windows Mixed Reality 支援,請移至應用程式登陸頁面上的 [編輯存放區] 頁面,選取 [基本資訊] 索引標籤,並向下移至 [虛擬實境]。To display Windows Mixed Reality support for your title, go to the "Edit Store Page" link on your App Landing Page, select the "Basic Info" tab, and scroll down to "Virtual Reality." 取消核取 [隱藏 Windows Mixed Reality],然後發佈至存放區。Uncheck the "Hide Windows Mixed Reality" and then publish to the store.

Bug 和意見反應Bugs and feedback

在改善 Windows Mixed Reality SteamVR 體驗時,您的意見反應非常寶貴。Your feedback is invaluable when it comes to improving the Windows Mixed Reality SteamVR experience. 透過 Windows 意見反應中樞提交所有意見反應和 bug。Submit all feedback and bugs through the Windows Feedback Hub. 以下是一些有關 如何讓您的 SteamVR 意見反應更有説明的秘訣Here are some tips on how to make your SteamVR feedback as helpful as possible.

如果您有任何問題或意見可以共用,您也可以在我們的串流 論壇上聯繫我們。If you have questions or comments to share, you can also reach us on our Steam forum.

常見問題和疑難排解FAQs and troubleshooting

如果您遇到設定或播放體驗的一般問題,請 參閱最新的疑難排解步驟If you're running into general issues setting up or playing your experience, check out the latest troubleshooting steps.

另請參閱See also