Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetDeviceAtXRNode(XRNode)

Gets the input device at a given XRNode endpoint.
Read time 1 minuteLast updated 10 days ago

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.