Class OpenXRInteractionFeature.ActionConfig
Declares an abstract input source bound to multiple physical input controls. XrActions are commonly contained within an ActionMapConfig as a grouped series of abstract, remappable inputs.
Inherited Members
Namespace: UnityEngine.XR.OpenXR.Features
Syntax
[Serializable]
protected class ActionConfigFields
bindings
The underlying physical input controls to use as the value for this action
Declaration
public List<OpenXRInteractionFeature.ActionBinding> bindingsField Value
| Type | Description | 
|---|---|
| List<OpenXRInteractionFeature.ActionBinding> | 
isAdditive
Tag to determine if certain action is additive and could be added to the existing profiles
Declaration
public bool isAdditiveField Value
| Type | Description | 
|---|---|
| Boolean | 
localizedName
Human readable name for the action
Declaration
public string localizedNameField Value
| Type | Description | 
|---|---|
| String | 
name
The name of the action, reported into the InputSystem as the name of the control that represents the input data for this action. This name can only contain a-z lower case letters.
Declaration
public string nameField Value
| Type | Description | 
|---|---|
| String | 
type
The type of data this action will report. OpenXRInteractionFeature.ActionType
Declaration
public OpenXRInteractionFeature.ActionType typeField Value
| Type | Description | 
|---|---|
| OpenXRInteractionFeature.ActionType | 
usages
These will be tagged onto InputDevice features. See UnityEngine.XR.InputDevice.TryGetFeatureValue(UnityEngine.XR.InputFeatureUsage{System.Boolean},System.Boolean@)
Declaration
public List<string> usagesField Value
| Type | Description | 
|---|---|
| List<String> |