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

◆ seek() [2/3]

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

Seeks to a specified point 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