Tweeny  3
A Tweening library for modern C++

◆ seek() [3/3]

const detail::tweentraits<T, Ts...>::valuesType& seek ( uint32_t  d,
bool  suppressCallbacks = false 
)

Seeks to a specified currentPoint in time.

This function sets the current animation time and currentProgress. Callbacks set by call will be triggered.

Parameters
dThe duration to seek to, between 0 and the total duration.
suppressCallbacks(Optional) Suppress callbacks registered with tween::onSeek()
Returns
std::tuple<Ts...> with the current tween values.
See also
duration