Struct XRFeatureDescriptor
Describes an individual input on a device, such as a trackpad, or button, or trigger.
Namespace: UnityEngine.InputSystem.XR
Assembly: Unity.InputSystem.dll
Syntax
[Serializable]
public struct XRFeatureDescriptor
Fields
customSize
The overall size of the feature. This is only filled in when the featureType is Custom.
Declaration
public uint customSize
Field Value
Type | Description |
---|---|
uint |
featureType
The type of data this feature exposes.
Declaration
public FeatureType featureType
Field Value
Type | Description |
---|---|
FeatureType |
name
The name of the feature.
Declaration
public string name
Field Value
Type | Description |
---|---|
string |
usageHints
The uses that this feature should represent, such as trigger, or grip, or touchpad.
Declaration
public List<UsageHint> usageHints
Field Value
Type | Description |
---|---|
List<UsageHint> |