文档

Unity Engine

Unity Engine

GetDevicesAtXRNode(XRNode, List<InputDevice>)

Gets a list of active input devices available to the XR Input Subsystem at a given XRNode endpoint.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule
public static void GetDevicesAtXRNode(XRNode node, List<InputDevice> inputDevices)

Parameters

node

The XRNode that owns the requested device.

inputDevices

A List of type InputDevices to receive the available input devices.