更新适用于 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. 具有左右手使用习惯概念的经验应从输入 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.

如果可能,则默认为基于操纵杆的 teleportation,以匹配 Windows Mixed Reality home teleportation 行为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月的更新开始,现在支持 Haptics 在 Windows Mixed Reality 上的 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