Synced
ImGui.DragFloat
Section titled “ImGui.DragFloat”
- Draws a floating-point drag control.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.ImGui
Scope: Editor
Declaration
Section titled “Declaration”public static bool InnoEditor.ImGui.ImGui.DragFloat(string label, ref float value, float speed = 1, float minimum = 0, float maximum = 0)Parameters
Section titled “Parameters”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.
Returns
Section titled “Returns”true when the value changes.