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