Changes the value with an exponential function with power that you can configure. More...
#include <kanzi/core.ui/animation/easing_curve.hpp>
Public Member Functions | |
ExponentialEasingFunction (float exponent) | |
Creates an ExponentialEasingFunction with a configurable exponent. More... | |
ExponentialEasingFunction () | |
Creates an ExponentialEasingFunction with a default exponent of 2.0. More... | |
float | operator() (float time) const |
Computes value of the easing function for the given time. More... | |
Public Attributes | |
float | exponent |
Changes the value with an exponential function with power that you can configure.
|
inlineexplicit |
Creates an ExponentialEasingFunction with a configurable exponent.
exponent | The exponent used for the exponential function. |
|
inline |
Creates an ExponentialEasingFunction with a default exponent of 2.0.
|
inline |
Computes value of the easing function for the given time.
time | Normalized time. |
float kanzi::ExponentialEasingFunction::exponent |