Class InputFeatureUsageString<T>
Serializable class that wraps a string usage name for use with InputFeatureUsage`1.
Inherited Members
Namespace: UnityEngine.XR.Interaction.Toolkit.Inputs.Readers
Assembly: solution.dll
Syntax
[Serializable]
public sealed class InputFeatureUsageString<T> where T : struct
Type Parameters
| Name | Description |
|---|---|
| T | Type of the value the usage represents, such as Vector2 or float. |
Constructors
| Name | Description |
|---|---|
| InputFeatureUsageString() | Initializes and returns an instance of InputFeatureUsageString<T>. |
| InputFeatureUsageString(string) | Initializes and returns an instance of InputFeatureUsageString<T>. |
Properties
| Name | Description |
|---|---|
| name | The string name of the usage feature, which maps to an input feature on a device. |