Synced
ImGuiWidget.CompactDragFloat
Section titled “ImGuiWidget.CompactDragFloat”
- Draws a floating-point drag field with a compact one-decimal presentation and precise text editing.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.ImGui
Declaration
Section titled “Declaration”public bool Inno.Editor.ImGui.ImGuiWidget.ImGuiWidget.CompactDragFloat(string label, ref float value, float speed = 0.1, float? minimum = null, float? maximum = null)Parameters
Section titled “Parameters”Parameter label: Stable ImGui label and identifier.
Parameter value: Exact floating-point value to edit. Compact presentation never rounds the stored value.
Parameter speed: Drag speed.
Parameter minimum: Optional inclusive lower bound.
Parameter maximum: Optional inclusive upper bound.
Returns
Section titled “Returns”true when the exact value changed.