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

◆ via() [2/2]

template<typename T , typename... Ts>
template<typename... Fs>
tween< T, Ts... > & via ( int index,
Fs... fs )

Specifies the easing function for a specific currentPoint.

Points starts at index 0. The index 0 refers to the first to call. Using this function without adding a currentPoint with to leads to undefined behaviour.

Parameters
indexThe tween currentPoint index
fsThe functions
Returns
*this
See also
tweeny::easing