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: Unity.XR.Interaction.Toolkit.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
InputFeatureUsageString()
Initializes and returns an instance of InputFeatureUsageString<T>.
Declaration
public InputFeatureUsageString()
  See Also
InputFeatureUsageString(string)
Initializes and returns an instance of InputFeatureUsageString<T>.
Declaration
public InputFeatureUsageString(string usageName)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | usageName | The string name of the usage feature, which maps to an input feature on a device.  | 
      
See Also
Properties
name
The string name of the usage feature, which maps to an input feature on a device.
Declaration
public string name { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string |