Legacy Documentation: Version 2018.2 (Go to current version)
VR overview
Oculus
Other Versions

VR devices

Unity provides built-in support for a number of virtual realityA system that immerses users in an artificial 3D world of realistic images and sounds, using a headset and motion tracking. More info
See in Glossary
devices.

Device availability is on a per-platform basis, meaning that not every device is available for every platform. Multiple devices are available on certain platforms, and you can choose which VR devices your app will support from the available list.

At runtime, only one device can be active at any given time. However, it is possible to switch between devices if you have chosen to support multiple devices in your application.

VR device information

XRDevice.family is a string corresponding to the current XRSettings.loadedDeviceName. A family can have multiple models, which have different characteristics. For example, OculusA VR platform for making applications for Rift and mobile VR devices. More info
See in Glossary
has DK2, Gear VR, etc. The model can be accessed with XRDevice.model.

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