InputDeviceRole
Enumeration describing the role of a InputDevice in providing input.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Enum
- Namespace: UnityEngine.XR
- Assembly: UnityEngine.XRModule
public enum InputDeviceRole : uint
Fields
Value | Description |
|---|---|
| GameController | This device is a game controller. |
| Generic | This device is typically a HMD or Camera. |
| HardwareTracker | This device is a hardware tracker. |
| LeftHanded | This device is a controller that represents the left hand. |
| LegacyController | This device is a legacy controller. |
| RightHanded | This device is a controller that represents the right hand. |
| TrackingReference | This device is a tracking reference used to track other devices in 3D. |
| Unknown | This device does not have a known role. |