Changes the value with a configurable power function using the function f(t) = t^p, where p is equal to the power parameter. More...
#include <kanzi/core.ui/animation/easing_curve.hpp>
Public Member Functions | |
| float | operator() (float time) const |
| Computes the value of an easing function for the given time. | |
| PowerEasingFunction () | |
| Creates a PowerEasingFunction with a power of 6.0. | |
| PowerEasingFunction (float power) | |
| Creates a PowerEasingFunction with a configurable power. | |
Public Attributes | |
| float | power |
Changes the value with a configurable power function using the function f(t) = t^p, where p is equal to the power parameter.
|
inlineexplicit |
Creates a PowerEasingFunction with a configurable power.
| power | The order of power function to use. |
|
inline |
Creates a PowerEasingFunction with a power of 6.0.
Computes the value of an easing function for the given time.
| time | Normalized time. |
| float kanzi::PowerEasingFunction::power |