Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Draws matching leaf commands as a flat searchable list.

API: engine
Project: Inno.Editor.ImGui

public bool Inno.Editor.ImGui.EditorMenuRenderer.DrawSearchItems(Inno.Editor.Interactions.EditorInteraction interaction, System.Collections.Generic.IReadOnlyList<Inno.Editor.Interactions.EditorMenuItem> items, string search)

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.

true when a command was selected.