InputFeatureUsage
Defines a generic usage that maps to an input feature on a device. Use the As method to turn into a generic usage.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.XR
- Assembly: UnityEngine.XRModule
- Implements: IEquatable<InputFeatureUsage>
public struct InputFeatureUsage : IEquatable<InputFeatureUsage>
Properties
Property | Description |
|---|---|
| name | The string name of this usage feature; used internally to map to an input feature on a device. |
| type | The type of this usage feature; used internally to map to an input feature on a device. |
Methods
Method | Description |
|---|---|
| As | Returns the generic version of this type for retrieving a feature value from a device. |