Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
AnimationBindings.hpp File Reference

The tween entry points, declared once for both registration layers. More...

#include "../core/Types.hpp"
#include "../ecs/Registry.hpp"
Include dependency graph for AnimationBindings.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  esengine

Functions

u32 esengine::anim_createTween (ecs::Registry &registry, u32 entity, u32 targetProp, f32 from, f32 to, f32 duration, u32 easing, f32 delay, u32 loopMode, i32 loopCount)
void esengine::anim_cancelTween (ecs::Registry &registry, u32 tweenEntity)
void esengine::anim_cancelAllTweens (ecs::Registry &registry, u32 targetEntity)
void esengine::anim_pauseTween (ecs::Registry &registry, u32 tweenEntity)
void esengine::anim_resumeTween (ecs::Registry &registry, u32 tweenEntity)
void esengine::anim_setTweenBezier (ecs::Registry &registry, u32 tweenEntity, f32 p1x, f32 p1y, f32 p2x, f32 p2y)
void esengine::anim_setSequenceNext (ecs::Registry &registry, u32 tweenEntity, u32 nextEntity)
void esengine::anim_updateTweens (ecs::Registry &registry, f32 deltaTime)
i32 esengine::anim_getTweenState (ecs::Registry &registry, u32 tweenEntity)

Detailed Description

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.

Author
ESEngine Team
Date
2026

Definition in file AnimationBindings.hpp.