Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Provides pointer-free controls within the active Editor UI session.

  • Provides frame-bounded drawing access and copied presentation values.

  • Reads copied input values from the active Editor UI session.

  • Provides scoped layout operations without exposing native context storage.

  • Presents tables through the active Editor UI context.

  • Copies presentation values and creates frame-bounded drawing borrows.

  • Exposes a script-safe, pointer-free subset of Dear ImGui for custom Editor tools. Every call is valid only while an Editor drawing callback is active.

API: scripting
Inherits: object
Project: Inno.Editor.ImGui
Scope: Editor

public static class InnoEditor.ImGui.ImGui
Kind Element Description
Methods ImGui.AlignTextToFramePadding Aligns the next text baseline with framed controls.
Methods ImGui.BeginChild Begins a child region.
Methods ImGui.BeginCombo Begins a combo popup.
Methods ImGui.BeginDisabled Begins a disabled block.
Methods ImGui.BeginGroup Begins an item group.
Methods ImGui.BeginPopup Begins a named popup.
Methods ImGui.BeginTabBar Begins a tab bar.
Methods ImGui.BeginTabItem(System.String,InnoEditor.ImGui.ImGuiTabItemFlags) Begins one tab item.
Methods ImGui.BeginTabItem(System.String,System.Boolean@,InnoEditor.ImGui.ImGuiTabItemFlags) Begins one closeable tab item.
Methods ImGui.BeginTable Begins a table.
Methods ImGui.Button Draws a standard button.
Methods ImGui.Checkbox Draws and edits a Boolean value.
Methods ImGui.CloseCurrentPopup Closes the current popup.
Methods ImGui.CollapsingHeader Draws a collapsible section header.
Methods ImGui.ColorEdit4 Draws and edits a four-component color.
Methods ImGui.ColorEditLinear4 Displays a linear RGBA color through a display-sRGB picker and returns edits in linear space.
Methods ImGui.DragFloat Draws a floating-point drag control.
Methods ImGui.DragInt Edits an integer by pointer drag with explicit speed and optional bounds.
Methods ImGui.DrawCubicCurve Draws a cubic curve without exposing a native draw list or borrowed pointer.
Methods ImGui.DrawFilledRectangle Adds a filled rectangle to the current window draw list.
Methods ImGui.DrawLine Adds a line to the current window draw list.
Methods ImGui.DrawRectangle Adds a rectangle outline to the current window draw list.
Methods ImGui.DrawText Adds text to the current window draw list.
Methods ImGui.Dummy Advances layout by an invisible size.
Methods ImGui.EndChild Ends the current child region.
Methods ImGui.EndCombo Ends the current combo popup.
Methods ImGui.EndDisabled Ends the current disabled block.
Methods ImGui.EndGroup Ends the current item group.
Methods ImGui.EndPopup Ends the current popup.
Methods ImGui.EndTabBar Ends the current tab bar.
Methods ImGui.EndTabItem Ends the current tab item.
Methods ImGui.EndTable Ends the current table.
Methods ImGui.FocusNextItem Requests keyboard focus for the next submitted item in the current frame and window.
Methods ImGui.GetClipBounds Copies the current window’s effective clip after parent and viewport clipping.
Methods ImGui.GetContentRegionAvailable Gets the remaining content size in the current region.
Methods ImGui.GetControlId Derives a control identity from the current window and ID stack.
Methods ImGui.GetCursorPosition Gets the current local cursor position.
Methods ImGui.GetCursorPosX Gets the local horizontal layout cursor.
Methods ImGui.GetCursorPosY Gets the local vertical layout cursor.
Methods ImGui.GetCursorScreenPosition Gets the current screen-space cursor position.
Methods ImGui.GetDrawList Borrows drawing commands for the current window and frame without exposing native memory.
Methods ImGui.GetFontSize Gets the active font size in UI units.
Methods ImGui.GetFrameCount Gets the current native frame identity for transient diagnostics.
Methods ImGui.GetFrameHeight Gets the standard control height including frame padding.
Methods ImGui.GetFrameHeightWithSpacing Gets the standard control height and following vertical spacing.
Methods ImGui.GetInput Copies the input facts for this frame.
Methods ImGui.GetItemMaximum Gets the maximum screen-space corner of the previous item.
Methods ImGui.GetItemMinimum Gets the minimum screen-space corner of the previous item.
Methods ImGui.GetLayout Copies the current UI layout metrics.
Methods ImGui.GetMouseDragDelta Gets accumulated pointer displacement from the current UI drag’s starting position for timeline and canvas controls.
Methods ImGui.GetMousePos Gets the current pointer position in screen-space UI units.
Methods ImGui.GetScrollMaxY Gets the current vertical scroll range.
Methods ImGui.GetScrollY Gets the current vertical scroll position.
Methods ImGui.GetStyleColor Gets the current style color including the active alpha.
Methods ImGui.GetStyleColorValue Copies an unmodulated style color for compound presentation.
Methods ImGui.GetTableBounds Gets the table and current row bounds needed by row overlays.
Methods ImGui.GetTextLineHeight Gets the active font line height without spacing.
Methods ImGui.GetViewport Gets the logical viewport identity and copied position for the current window.
Methods ImGui.GetWindowBounds Gets copied inner and work bounds for the current window.
Methods ImGui.GetWindowDpiScale Gets the native viewport scale for the current window.
Methods ImGui.GetWindowPos Gets the current window screen-space origin.
Methods ImGui.GetWindowSize Gets the current window size in UI units.
Methods ImGui.HasDragPayload Checks the active payload’s logical protocol without exposing its native buffer.
Methods ImGui.Indent Indents subsequent controls by an explicit amount or the standard step.
Methods ImGui.InputFloat Draws and edits a floating-point value.
Methods ImGui.InputInt Draws and edits an integer value.
Methods ImGui.InputText Draws and edits a bounded UTF-8 text value.
Methods ImGui.InputTextWithHint Draws and edits a bounded UTF-8 text value with placeholder text.
Methods ImGui.InvisibleButton Submits an explicitly drawn control interaction rectangle.
Methods ImGui.IsAnyItemActive Checks whether a submitted control owns an active interaction.
Methods ImGui.IsAnyItemHovered Checks whether a submitted control currently owns hover.
Methods ImGui.IsAnyPopupOpen Reads whether an open popup or modal currently prevents underlying canvas and list input.
Methods ImGui.IsItemActivated Checks the first frame of the last control interaction.
Methods ImGui.IsItemActive Gets whether the previous item is active.
Methods ImGui.IsItemClicked Gets whether the previous item was clicked with a mouse button.
Methods ImGui.IsItemDeactivatedAfterEdit Checks the completion frame of an edited control.
Methods ImGui.IsItemHovered Gets whether the previous item is hovered.
Methods ImGui.IsKeyDown Checks whether a presentation key remains held.
Methods ImGui.IsKeyPressed Checks a presentation-key press with explicit repeat policy.
Methods ImGui.IsMouseButtonDown Gets whether a mouse button is held in the current Editor UI frame, including input consumed by UI controls.
Methods ImGui.IsMouseClicked Checks a pointer-button press in the current frame.
Methods ImGui.IsMouseDoubleClicked Checks the backend-classified double-click event.
Methods ImGui.IsMouseHoveringRect Checks pointer containment in a screen rectangle with optional window clipping.
Methods ImGui.IsMouseReleased Checks a pointer-button release in the current frame.
Methods ImGui.IsWindowFocused Checks keyboard focus within the declared window scope.
Methods ImGui.IsWindowHovered Checks window hover under the declared interaction policy.
Methods ImGui.MeasureText(System.String) Measures text using the current font.
Methods ImGui.MeasureText(System.String,System.Single) Measures literal text at a relative font scale.
Methods ImGui.MeasureWrappedText Measures literal text using the same current font and wrap width as wrapped drawing.
Methods ImGui.MenuItem Draws a menu item with explicit availability and checked state.
Methods ImGui.OpenPopup Opens a named popup.
Methods ImGui.PopClipRect Restores the enclosing control clip after a matching push.
Methods ImGui.PopId Pops one identity from the ImGui ID stack.
Methods ImGui.PopStyleColor Pops color overrides.
Methods ImGui.PopStyleVar Pops style-variable overrides.
Methods ImGui.PopTextWrapPos Restores the enclosing text-wrap boundary.
Methods ImGui.PushClipRect Clips subsequent controls and drawing to a screen rectangle.
Methods ImGui.PushId(System.Int32) Pushes an integer identity onto the ImGui ID stack.
Methods ImGui.PushId(System.String) Pushes a string identity onto the ImGui ID stack.
Methods ImGui.PushStyleColor Pushes one color override.
Methods ImGui.PushStyleVar(InnoEditor.ImGui.ImGuiStyleVar,System.Numerics.Vector2) Pushes one two-component style override.
Methods ImGui.PushStyleVar(InnoEditor.ImGui.ImGuiStyleVar,System.Single) Pushes one scalar style override.
Methods ImGui.PushTextWrapPos Restricts subsequent text wrapping to a local horizontal boundary.
Methods ImGui.ResetMouseDragDelta Resets the consumed pointer-drag distance.
Methods ImGui.SameLine Places the next item on the same line.
Methods ImGui.Selectable Draws one selectable item.
Methods ImGui.Separator Draws a horizontal separator.
Methods ImGui.SeparatorText Draws a labeled horizontal separator.
Methods ImGui.SetClipboardText Copies literal text through the host clipboard adapter.
Methods ImGui.SetCursorPosition Sets the current local cursor position.
Methods ImGui.SetCursorPosX Changes only the local horizontal layout cursor.
Methods ImGui.SetCursorPosY Changes only the local vertical layout cursor.
Methods ImGui.SetCursorScreenPosition Places the next control at a screen-space location.
Methods ImGui.SetItemDefaultFocus Chooses the last item as the default selection in an appearing popup.
Methods ImGui.SetKeyboardFocusHere Requests focus for a relative control position.
Methods ImGui.SetMouseCursor Requests the semantic cursor for the hovered control.
Methods ImGui.SetNextItemAllowOverlap Allows explicitly layered controls to share the next item bounds.
Methods ImGui.SetNextItemWidth Sets the width of the next item.
Methods ImGui.SetNextWindowContentSize Declares virtual content size for the next scrollable window.
Methods ImGui.SetNextWindowSize Requests a size for the next window under an explicit layout condition.
Methods ImGui.SetScrollHereY Scrolls the most recently submitted control into the requested relative position.
Methods ImGui.SliderFloat Draws a bounded floating-point slider.
Methods ImGui.SliderInt Edits an integer within explicit inclusive bounds.
Methods ImGui.SmallButton Draws a compact button.
Methods ImGui.Spacing Adds one standard vertical spacing unit.
Methods ImGui.TableHeadersRow Draws the table header row from configured column labels.
Methods ImGui.TableNextColumn Advances to the next table column.
Methods ImGui.TableNextRow Advances to the next table row.
Methods ImGui.TableSetBgColor Sets a table row or cell background through the current table scope.
Methods ImGui.TableSetColumnIndex Selects a declared table column for subsequent controls.
Methods ImGui.TableSetupColumn Declares one table column.
Methods ImGui.Text Draws unformatted text.
Methods ImGui.ToPackedColor Converts a floating-point RGBA color to Dear ImGui packed color order.
Methods ImGui.TreeNode Draws a tree node and pushes its tree scope when it is open.
Methods ImGui.TreePop Ends the current open tree-node scope.
Methods ImGui.Unindent Restores a matching indentation step.