Version: 2019.4

InputDevice.TryGetFeatureUsages

Switch to Manual
public bool TryGetFeatureUsages (List<InputFeatureUsage> featureUsages);

Parameters

featureUsagesA List of InputFeatureUsage structures to receive the available features on this device.

Returns

bool true if device can be queried; otherwise false.

Description

Gets a list of all the input feature usages available on this device. For example, "Trigger" or "Device Position".