Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Draws a float drag field with a compact colored axis prefix.

API: engine
Project: Inno.Editor.ImGui

public bool Inno.Editor.ImGui.ImGuiWidget.ImGuiWidget.AxisDragFloat(string id, string axis, ref float value, float width, float speed = 0.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.