Synced
EditorMenuRenderer.ContextMenu
Section titled “EditorMenuRenderer.ContextMenu”
- Draws a resolved right-click menu for the most recently submitted ImGui item.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.ImGui
Declaration
Section titled “Declaration”public bool Inno.Editor.ImGui.EditorMenuRenderer.ContextMenu(string id, Inno.Editor.Interactions.EditorInteraction interaction)Parameters
Section titled “Parameters”Parameter id: The stable popup identifier in the current ImGui ID scope.
Parameter interaction: The interaction area and optional operation target.
Returns
Section titled “Returns”true while the context popup is open and its items were drawn.