|
CeresEngine 0.2.0
A game development framework
|
These constants describe the curve of an animation—that is, the relative speed of an animation from start to finish. More...
#include <CeresEngine/UI/UIAnimation.hpp>
Public Types | |
| using | FunctionRef = T(*)(double, const T &, const T &) noexcept |
Public Member Functions | |
| constexpr | UIAnimationEasing (const FunctionRef function) |
| T | operator() (const double t, const T &a, const T &b) const noexcept |
Static Public Attributes | |
| static UIAnimationEasing | EaseInOut |
| Describes an S-curve in which the animation slowly speeds up and then slows down near the end of the animation. | |
| static const UIAnimationEasing | EaseIn |
| Describes an animation that slows down as it reaches the end. | |
| static const UIAnimationEasing | EaseOut |
| Describes an animation that slowly speeds up from the start. | |
| static const UIAnimationEasing | Linear |
| Describes an animation in which there is no change in frame rate. | |
Private Attributes | |
| FunctionRef | mFunction |
These constants describe the curve of an animation—that is, the relative speed of an animation from start to finish.
|
inlineconstexpr |
|
inlinenoexcept |
|
static |
Describes an animation that slows down as it reaches the end.
|
static |
Describes an S-curve in which the animation slowly speeds up and then slows down near the end of the animation.
This constant is the default.
|
static |
Describes an animation that slowly speeds up from the start.
|
inlinestatic |
Describes an animation in which there is no change in frame rate.
|
private |