![]() |
Plasma Engine
2.0
|
Available procedural curve generators. More...
#include <CurveFunctions.h>
Public Types | |
enum | Enum { Linear , ConstantZero , ConstantOne , EaseInSine , EaseOutSine , EaseInOutSine , EaseInQuad , EaseOutQuad , EaseInOutQuad , EaseInCubic , EaseOutCubic , EaseInOutCubic , EaseInQuartic , EaseOutQuartic , EaseInOutQuartic , EaseInQuintic , EaseOutQuintic , EaseInOutQuintic , EaseInExpo , EaseOutExpo , EaseInOutExpo , EaseInCirc , EaseOutCirc , EaseInOutCirc , EaseInBack , EaseOutBack , EaseInOutBack , EaseInElastic , EaseOutElastic , EaseInOutElastic , EaseInBounce , EaseOutBounce , EaseInOutBounce , Conical , FadeInHoldFadeOut , FadeInFadeOut , Bell , ENUM_COUNT , Default = Linear } |
using | StorageType = plUInt8 |
Static Public Member Functions | |
static double | GetValue (Enum function, double x) |
Helper function that returns the function value at the given x coordinate. | |
static double | GetValue (Enum function, double x, bool bInverse) |
Helper function that returns the function value at the given x coordinate. | |
Available procedural curve generators.
The easing function types are adapted from https://easings.net. Visit that page for a preview.
Types:
|
inlinestatic |
Helper function that returns the function value at the given x coordinate.
If inverse is true, the value (1-Y) is returned.