public record class InputBindingDataOne binding of an action, as the document holds it.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Composite parts are nested here rather than flattened into the binding list behind an isPartOfComposite flag, which is how Unity's asset stores them. The flat form makes every consumer reconstruct the tree, and makes a hand-edited file that reorders two lines mean something different — which is exactly the sort of breakage a text asset in version control must not have.
Fields and properties (7)
public string PathThe control, in InputControlPath syntax. Empty for a composite, whose value comes from its .
public string? NameA display name for a rebinding screen, or .
public string? GroupsThe control schemes this binding belongs to, semicolon-separated. or empty means every scheme.
public string? InteractionsThe interactions, semicolon-separated, or .
public string? ProcessorsThe processors, semicolon-separated, or .
public InputCompositeKind CompositeWhich composite this is, or None.
public IReadOnlyList<InputBindingPartData> PartsThe composite's parts, or an empty list.
Methods (1)
public InputBindingData(string Path, string? Name = null, string? Groups = null, string? Interactions = null, string? Processors = null, InputCompositeKind Composite = None, IReadOnlyList<InputBindingPartData>? Parts = null)One binding of an action, as the document holds it.
Used by (8)
- InputActionAssetReaderVixen.Input
- InputActionAssetTestsVixen.Input.Tests
- InputActionAssetWriterVixen.Input
- InputActionDataVixen.Input
- InputBindingVixen.Input
- AuthoringTestsVixen.Editor.AssetEditors.Tests
- InputActionsDocumentVixen.Editor.AssetEditors
- InputActionsViewVixen.Editor.AssetEditors