Version: 2018.2
XR API reference
Обзор

Mixed Reality Devices

Unity provides built-in support for a number of Mixed Reality (MR) 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 MR 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.

MR device information

XRDevice.family is a string corresponding to the current XRSettings.loadedDeviceName. A family can have multiple models, which have different characteristics. The model can be accessed with XRDevice.model.

XR API reference
Обзор
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961