TweenEasingFunction
ceramic._Tween.TweenEasingFunction (private class)
Internal utility class containing easing function implementations.
Uses static methods and a static k variable to avoid boxing
on C++ targets, reducing garbage collection pressure.
Static Members
k: FloatThe value being eased, stored as a static variable to avoid boxing.
Using a static variable instead of function parameters prevents boxing of primitive float values on C++ targets, which would create garbage and pressure the garbage collector.
customEasing(): FloatTemporary storage for custom easing functions. Set before calling custom() and cleared after.
| Returns |
|---|
| Float |
custom(): Voidnone(): Voidlinear(): VoidbackEaseIn(): VoidbackEaseInOut(): VoidbackEaseOut(): VoidquadEaseIn(): VoidquadEaseInOut(): VoidquadEaseOut(): VoidcubicEaseIn(): VoidcubicEaseInOut(): VoidcubicEaseOut(): VoidquartEaseIn(): VoidquartEaseInOut(): VoidquartEaseOut(): VoidquintEaseIn(): VoidquintEaseInOut(): VoidquintEaseOut(): VoidbounceEaseIn(): VoidbounceEaseInOut(): VoidbounceEaseOut(): VoidelasticEaseIn(): VoidelasticEaseInOut(): VoidelasticEaseOut(): VoidexpoEaseIn(): VoidexpoEaseInOut(): VoidexpoEaseOut(): VoidsineEaseIn(): VoidsineEaseInOut(): VoidsineEaseOut(): VoidPrivate Members
Metadata
| Name | Parameters |
|---|---|
:hxGen |
- |
:allow |
ceramic.Tween |