Synced
EditorMenuRenderer.DrawSearchItems
Section titled “EditorMenuRenderer.DrawSearchItems”
- Draws matching leaf commands as a flat searchable list.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.ImGui
Declaration
Section titled “Declaration”public bool Inno.Editor.ImGui.EditorMenuRenderer.DrawSearchItems(Inno.Editor.Interactions.EditorInteraction interaction, System.Collections.Generic.IReadOnlyList<Inno.Editor.Interactions.EditorMenuItem> items, string search)Parameters
Section titled “Parameters”Parameter interaction: The interaction used to enqueue selected actions.
Parameter items: The immutable menu tree whose leaves should be searched.
Parameter search: The case-insensitive text matched against each slash-delimited leaf path.
Returns
Section titled “Returns”true when a command was selected.