Synced
ImGui.DragInt
Section titled “ImGui.DragInt”
- Edits an integer by pointer drag with explicit speed and optional bounds.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.ImGui
Scope: Editor
Declaration
Section titled “Declaration”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)Parameters
Section titled “Parameters”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.
Returns
Section titled “Returns”True when the documented control event or condition is present; otherwise false.