TryGetFeatureUsages(List<InputFeatureUsage>)
Gets a list of all the input feature usages available on this device. For example, "Trigger" or "Device Position".
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine.XR
- Assembly: UnityEngine.XRModule
public bool TryGetFeatureUsages(List<InputFeatureUsage> featureUsages)
Parameters
A List of InputFeatureUsage structures to receive the available features on this device.
Returns
Type | Description |
|---|---|
| bool | true if device can be queried; otherwise false. |