|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
The tween entry points, declared once for both registration layers. More...


Go to the source code of this file.
Namespaces | |
| namespace | esengine |
Functions | |
| u32 | esengine::anim_createTween (ecs::Registry ®istry, u32 entity, u32 targetProp, f32 from, f32 to, f32 duration, u32 easing, f32 delay, u32 loopMode, i32 loopCount) |
| void | esengine::anim_cancelTween (ecs::Registry ®istry, u32 tweenEntity) |
| void | esengine::anim_cancelAllTweens (ecs::Registry ®istry, u32 targetEntity) |
| void | esengine::anim_pauseTween (ecs::Registry ®istry, u32 tweenEntity) |
| void | esengine::anim_resumeTween (ecs::Registry ®istry, u32 tweenEntity) |
| void | esengine::anim_setTweenBezier (ecs::Registry ®istry, u32 tweenEntity, f32 p1x, f32 p1y, f32 p2x, f32 p2y) |
| void | esengine::anim_setSequenceNext (ecs::Registry ®istry, u32 tweenEntity, u32 nextEntity) |
| void | esengine::anim_updateTweens (ecs::Registry ®istry, f32 deltaTime) |
| i32 | esengine::anim_getTweenState (ecs::Registry ®istry, u32 tweenEntity) |
The tween entry points, declared once for both registration layers.
The SDK's Tween API creates and drives tweens as ECS entities through these. They were defined inside the emscripten entry TU, which made them web-only by construction even though the bodies are portable; declaring them here is what lets embind register them for the web and EHT generate the QuickJS wrappers for a device, from one source.
Definition in file AnimationBindings.hpp.