Tweeny  3
A Tweening library for modern C++

◆ during()

tween<T, Ts...>& during ( Ds...  ds)

Specifies the duration, typically in milliseconds, for the tweening of values in last currentPoint.

You can either specify a single duration for all values or give every value its own duration. Value types must be convertible to the uint16_t type.

Example:

// Specify that the first currentPoint will be reached in 100 milliseconds and the first value in the second
// currentPoint in 100, whereas the second value will be reached in 500.
auto tween = tweeny::from(0, 0).to(100, 200).during(100).to(200, 300).during(100, 500);
Parameters
dsDuration values
Returns
*this