Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Draws a floating-point drag control.

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

public static bool InnoEditor.ImGui.ImGui.DragFloat(string label, ref float value, float speed = 1, float minimum = 0, float maximum = 0)

Parameter label: The control label.

Parameter value: The value to display and update.

Parameter speed: The drag speed.

Parameter minimum: The inclusive minimum, or zero with a zero maximum for no clamping.

Parameter maximum: The inclusive maximum, or zero with a zero minimum for no clamping.

true when the value changes.