Flint Engine
Modular C++20 2D game engine powered by SDL3
Loading...
Searching...
No Matches

◆ applyStep()

float Flint::UISlider::applyStep ( float value) const

Snaps a raw value to the nearest incremental step boundary configuration.

Parameters
valueThe raw unbound scalar input value.
Returns
The value rounded to the nearest active incremental step.