Legacy Documentation: Version 2018.1 (Go to current version)
Oculus
Single Pass Stereo rendering (Double-Wide rendering)
Other Versions

OpenVR

Getting Started (OpenVR)

Steam is required to run OpenVR applications, so install Steam and SteamVR. Once SteamVR is working properly with your headset, add OpenVR to the list of supported SDKs (see below to learn how to do this). If you require additional functionality beyond Unity’s built-in support, see the SteamVR asset store package.

Supported Platforms

OpenVR is supported on the followng platforms:

  • Windows
  • macOS

macOS Specific

  • Unity OpenVR on a macOS requires the Metal graphics and 64bit application target, OpenGL is not supported.

  • OpenVR supports macOS 10.11.6 or later, but is optimized for macOS 10.13 High Sierra or later.

Inputs

See documentation on OpenVR Controllers for input control mapping.

Upgrading a project that contains the SteamVR Package

  • Enable virtual reality support. Open the Player Settings (menu: Edit > Project Settings > Player), select Other Settings and check the Virtual Reality Supported checkbox.
  • Use the Virtual Reality SDK list displayed below the checkbox to add OpenVR.
  • Enter Play Mode in the Editor to test the build.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答