![]() |
XII Release 0.1.0
|
Available Procedural Curve Generators. More...
#include <Easing.h>
Public Types | |
enum | Enum : StorageType { ConstantZero , ConstantQuarter , ConstantHalf , ConstantThreeFourths , ConstantOne , InLinear , OutLinear , InOutLinear , InSine , OutSine , InOutSine , InQuad , OutQuad , InOutQuad , InCubic , OutCubic , InOutCubic , InQuartic , OutQuartic , InOutQuartic , InQuintic , OutQuintic , InOutQuintic , InExpo , OutExpo , InOutExpo , InCirc , OutCirc , InOutCirc , InBack , OutBack , InOutBack , InElastic , OutElastic , InOutElastic , InBounce , OutBounce , InOutBounce , Conical , FadeInHoldFadeOut , FadeInFadeOut , Bell , ENUM_COUNT , Default = InLinear } |
using | StorageType = xiiUInt8 |
Static Public Member Functions | |
static double | GetValue (xiiEasingFunction::Enum function, double fInput) |
Helper function that returns the function value at the given input. | |
static double | GetValue (xiiEasingFunction::Enum function, double fInput, bool bInverse) |
Helper function that returns the function value at the given input. | |
Available Procedural Curve Generators.
Supported easing function types adapted from https://easings.net. To view some of these in action, please visit the above mentioned source link.
Types:
enum xiiEasingFunction::Enum : StorageType |
|
inlinestatic |
Helper function that returns the function value at the given input.
if inverse is true, the value (1 - result) is returned.