GetDeviceAtXRNode(XRNode)
Gets the input device at a given XRNode endpoint.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: UnityEngine.XR
- Assembly: UnityEngine.XRModule
public static InputDevice GetDeviceAtXRNode(XRNode node)
Parameters
The XRNode that owns the requested device.
Returns
Type | Description |
|---|---|
| InputDevice | An 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.