|
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 &) |
Static Public Member Functions | |
| static UIAnimationCurve | EaseInOut (T start, T end) |
| Describes an S-curve in which the animation slowly speeds up and then slows down near the end of the animation. | |
| static const UIAnimationCurve | EaseIn (T start, T end) |
| Describes an animation that slows down as it reaches the end. | |
| static const UIAnimationCurve | EaseOut (T start, T end) |
| Describes an animation that slowly speeds up from the start. | |
| static const UIAnimationCurve | Linear (T start, T end) |
| Describes an animation in which there is no change in frame rate. | |
Private Attributes | |
| FunctionRef | mFunction |
| double | start |
| double | end |
These constants describe the curve of an animation—that is, the relative speed of an animation from start to finish.
|
inlinestatic |
Describes an animation that slows down as it reaches the end.
|
inlinestatic |
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.
|
inlinestatic |
Describes an animation that slowly speeds up from the start.
|
inlinestatic |
Describes an animation in which there is no change in frame rate.
|
private |
|
private |
|
private |