Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Draws a floating-point drag field with a compact one-decimal presentation and precise text editing.

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

public bool InnoEditor.ImGui.ImGuiWidget.CompactDragFloat(string label, ref float value, float speed = 0.1, float? minimum = null, float? maximum = null)

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.

true when the exact value changed.