Synced
ImGuiWidget.AxisDragFloat
Section titled “ImGuiWidget.AxisDragFloat”
- Draws a float drag field with a compact colored axis prefix.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.ImGui
Scope: Editor
Declaration
Section titled “Declaration”public bool InnoEditor.ImGui.ImGuiWidget.AxisDragFloat(string id, string axis, ref float value, float width, float speed = 0.1)Parameters
Section titled “Parameters”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.
Returns
Section titled “Returns”true when the value changed.