Documentation

UI::DragFloat

Function

float UI::DragFloat(const string&in label, float num, float speed = 1.0f, float min = 0, float max = 0, const string&in format = "%.3f", int flags = UI::SliderFlags::None)

Drag slider for floats. Returns the new value. If min >= max, there are no bounds.

string label

float num

float speed

float min

float max

string format

int flags

Returns float