ドキュメント

Unity Engine

Unity Engine

LoadDeviceByName

Loads the requested device at the beginning of the next frame.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule

LoadDeviceByName(string)

Loads the requested device at the beginning of the next frame.
注意
Removed. XRSettings.LoadDeviceByName is deprecated and should no longer be used. Instead, query subsystem descriptors via the SubsystemManager to create and start the subsystems you need.
public static void LoadDeviceByName(string deviceName)

Parameters

deviceName

Name of the device from XRSettings.supportedDevices.

Remarks

This API is deprecated and should no longer be used.

LoadDeviceByName(string[])

Loads the requested device at the beginning of the next frame.
注意
Removed. XRSettings.LoadDeviceByName is deprecated and should no longer be used. Instead, query subsystem descriptors via the SubsystemManager to create and start the subsystems you need..
public static void LoadDeviceByName(string[] prioritizedDeviceNameList)

Parameters

prioritizedDeviceNameList

Prioritized list of device names from XRSettings.supportedDevices.

Remarks

This API is deprecated and should no longer be used.