JugiMap Framework
|
The Easing struct defines interpolation methods used for obtaining values between a start value and an end value. It is used in timeline animations and tweens. More...
#include <jmCommon.h>
Public Types | |
enum | Kind : int { LINEAR = 0, EASE_START = 1, EASE_END = 2, EASE_START_END = 3, CONSTANT = 4 } |
The kind of Easing. More... | |
Public Member Functions | |
float | GetValue (float p) |
Returns an ouput value according to the Easing::Kind. The given parameter p must be in range from 0.0 to 1.0. More... | |
The Easing struct defines interpolation methods used for obtaining values between a start value and an end value. It is used in timeline animations and tweens.
|
strong |
The kind of Easing.
float GetValue | ( | float | p | ) |
Returns an ouput value according to the Easing::Kind. The given parameter p must be in range from 0.0 to 1.0.