Changes the value back slightly before moving it toward the target. More...
#include <kanzi/core.ui/animation/easing_curve.hpp>
Public Member Functions | |
BackEasingFunction () | |
Creates a BackEasingFunction with an amplitude of 1.0. | |
BackEasingFunction (float amplitude) | |
Creates a BackEasingFunction with a given amplitude. | |
float | operator() (float time) const |
Computes the value of an easing function for the given time. | |
Public Attributes | |
float | amplitude |
Changes the value back slightly before moving it toward the target.
|
inlineexplicit |
Creates a BackEasingFunction with a given amplitude.
amplitude | Controls the amplitude of the back slide. |
|
inline |
Creates a BackEasingFunction with an amplitude of 1.0.
Computes the value of an easing function for the given time.
time | Normalized time. |
float kanzi::BackEasingFunction::amplitude |