ドキュメント

Unity Engine

Unity Engine

loadedDeviceName

Type of XR device that is currently loaded.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule
public static string loadedDeviceName { get; }

Remarks

Note: Rendering to the device may not be happening even though it is loaded. See XRSettings.enabled.
In order to change the currently loaded device or reload the current device, use XRSettings.LoadDeviceByName.