Tweeny
3.2.0
A Tweening library for modern C++
|
◆ via()
Specifies the easing function for the last added point. This will specify the easing between the last tween point added by If it is a multi-value point, you can either specify a single easing function that will be used for every value or you can specify an easing function for each value. You can mix and match callable objects, lambdas and bundled easing objects. Example: // use bundled linear easing
auto tween1 = tweeny::from(0).to(100).via(tweeny::easing::linear);
// use custom lambda easing
tween< Ts... > from(Ts... vs) Creates a tween starting from the values defined in the arguments.
|