Tweeny 3.2.0
A Tweening library for modern C++
Loading...
Searching...
No Matches

◆ step() [1/6]

const detail::tweentraits< T, Ts... >::valuesType & step ( float dp,
bool suppressCallbacks = false )

Steps the animation by the designated percentage amount.

You can use this function to step the tweening by a specified percentage delta.

Example:

Parameters
dpDelta percentage, between 0.0f and 1.0f
suppressCallbacks(Optional) Suppress callbacks registered with tween::onStep()
Returns
std::tuple<Ts...> with the current tween values.