InputFeatureUsage<T>
Defines a generic usage that maps to an input feature on a device.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.XR
- Assembly: UnityEngine.XRModule
- Implements: IEquatable<InputFeatureUsage<T>>
public struct InputFeatureUsage<T> : IEquatable<InputFeatureUsage<T>>
Constructors
Constructor | Description |
|---|---|
| InputFeatureUsage`1(System.String) | Construct a usage from a usage name. |
Properties
Property | Description |
|---|---|
| name | The string name of this usage feature; used internally to map to an input feature on a device. |
Operators
Operator | Description |
|---|---|
| InputFeatureUsage | Converts a generic InputFeatureUsage\<T\> into an InputFeatureUsage. |