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

◆ step() [3/6]

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

Steps the animation by the designated delta amount.

You should call this every frame of your application, passing in the amount of delta time that you want to animate.

Example:

Parameters
dtDelta duration
suppressCallbacks(Optional) Suppress callbacks registered with tween::onStep()
Returns
std::tuple<Ts...> with the current tween values.