|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
World-space motion trail renderable (sword swipes, projectile/dash streaks, ribbon effects). More...
#include "../../core/Types.hpp"#include "../../core/Reflection.hpp"#include "../../math/Math.hpp"#include "../../resource/Handle.hpp"

Go to the source code of this file.
Classes | |
| struct | esengine::ecs::TrailRenderer |
Namespaces | |
| namespace | esengine |
| namespace | esengine::ecs |
World-space motion trail renderable (sword swipes, projectile/dash streaks, ribbon effects).
The trail records the entity's world position over time into a point history owned by TrailSystem (per-frame gameplay sim, like the particle system) — this component is PURE CONFIG. TrailPlugin turns that history into a triangle-strip ribbon each frame and streams it through the unified Batch face (CPU-generated verts, exactly like MeshRenderer), so a trail sorts, clips, and multi-texture-merges like every other 2D renderable. No new GPU path, no line-strip topology — a ribbon is triangles.
Definition in file TrailRenderer.hpp.