Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Edits an integer by pointer drag with explicit speed and optional bounds.

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

public static bool InnoEditor.ImGui.ImGui.DragInt(string label, ref int value, float speed = 1, int minimum = 0, int maximum = 0, string format = "%d", InnoEditor.ImGui.ImGuiSliderFlags flags = InnoEditor.ImGui.ImGuiSliderFlags.None)

Parameter label: The visible label and optional stable ID suffix.

Parameter value: The caller-owned value updated only after an accepted edit.

Parameter speed: The pointer movement multiplier.

Parameter minimum: The inclusive lower bound or upper-left corner.

Parameter maximum: The inclusive upper bound or lower-right corner.

Parameter format: The numeric display format.

Parameter flags: The explicit control and interaction options.

True when the documented control event or condition is present; otherwise false.