Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Draws an integer drag field with a compact colored axis prefix.

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

public bool InnoEditor.ImGui.ImGuiWidget.AxisDragInt(string id, string axis, ref int value, float width, float speed = 1)

Parameter id: Stable control identifier.

Parameter axis: Axis label such as X, Y, Z, or W.

Parameter value: Mutable numeric value.

Parameter width: Total width including the axis prefix.

Parameter speed: Drag speed.

true when the value changed.