Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Draws and edits an integer value.

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

public static bool InnoEditor.ImGui.ImGui.InputInt(string label, ref int value, int step = 1, int fastStep = 100, InnoEditor.ImGui.ImGuiInputTextFlags flags = InnoEditor.ImGui.ImGuiInputTextFlags.None)

Parameter label: The control label.

Parameter value: The integer displayed by the control and replaced after an accepted edit.

Parameter step: Increment used by the ordinary step button.

Parameter fastStep: Increment used by the accelerated step button.

Parameter flags: Text editing options for the numeric field.

true when the value changes.