File tween.hpp¶
Defines
-
TWEEN_TYPE_MAX¶
Enums
-
enum class TweenType¶
Values:
-
enumerator LINEAR¶
-
enumerator INSINE¶
-
enumerator OUTSINE¶
-
enumerator INOUTSINE¶
-
enumerator INQUAD¶
-
enumerator OUTQUAD¶
-
enumerator INOUTQUAD¶
-
enumerator INCUBIC¶
-
enumerator OUTCUBIC¶
-
enumerator INOUTCUBIC¶
-
enumerator INQUART¶
-
enumerator OUTQUART¶
-
enumerator INOUTQUART¶
-
enumerator INQUINT¶
-
enumerator OUTQUINT¶
-
enumerator INOUTQUINT¶
-
enumerator INEXPO¶
-
enumerator OUTEXPO¶
-
enumerator INOUTEXPO¶
-
enumerator INCIRC¶
-
enumerator OUTCIRC¶
-
enumerator INOUTCIRC¶
-
enumerator INBACK¶
-
enumerator OUTBACK¶
-
enumerator INOUTBACK¶
-
enumerator INELASTIC¶
-
enumerator OUTELASTIC¶
-
enumerator INOUTELASTIC¶
-
enumerator INBOUNCE¶
-
enumerator OUTBOUNCE¶
-
enumerator INOUTBOUNCE¶
-
enumerator LINEAR¶
Functions
-
float linear(float t)¶
-
float inSine(float t)¶
-
float outSine(float t)¶
-
float inOutSine(float t)¶
-
float inQuad(float t)¶
-
float outQuad(float t)¶
-
float inOutQuad(float t)¶
-
float inCubic(float t)¶
-
float outCubic(float t)¶
-
float inOutCubic(float t)¶
-
float inQuart(float t)¶
-
float outQuart(float t)¶
-
float inOutQuart(float t)¶
-
float inQuint(float t)¶
-
float outQuint(float t)¶
-
float inOutQuint(float t)¶
-
float inExpo(float t)¶
-
float outExpo(float t)¶
-
float inOutExpo(float t)¶
-
float inCirc(float t)¶
-
float outCirc(float t)¶
-
float inOutCirc(float t)¶
-
float inBack(float t)¶
-
float outBack(float t)¶
-
float inOutBack(float t)¶
-
float inElastic(float t)¶
-
float outElastic(float t)¶
-
float inOutElastic(float t)¶
-
float inBounce(float t)¶
-
float outBounce(float t)¶
-
float inOutBounce(float t)¶
-
struct Tween¶
- #include <tween.hpp>
-
struct TweenLua¶
- #include <tween.hpp>
-
struct TweenProvider¶
- #include <tween.hpp>
Public Static Functions
-
static void setupTweenFuncs()¶
-
static std::list<Tween> initPropTween(ElementProperty *dest, ElementProperty source, float duration, TweenType type)¶
Public Static Attributes
-
static std::array<std::function<float(float)>, TWEEN_TYPE_MAX> arr¶
-
static void setupTweenFuncs()¶