ドキュメント

Unity Engine

Unity Engine

GetDeviceAtXRNode(XRNode)

Gets the input device at a given XRNode endpoint.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule
public static InputDevice GetDeviceAtXRNode(XRNode node)

Parameters

node

The XRNode that owns the requested device.

Returns

Type

Description

InputDeviceAn InputDevice at this [[XR.XRNode].

Remarks

If there is no device at the specified endpoint, the method returns an InputDevice on which a call to InputDevice.IsValid returns false.