78 glm::vec4
color{1.0f, 1.0f, 1.0f, 1.0f};
Math utilities and GLM configuration for ESEngine.
Reflection and metadata system for automatic binding generation.
#define ES_COMPONENT(...)
Mark a struct/class as a component that should be exposed to scripts.
#define ES_PROPERTY(...)
Mark a field as a property that should be exposed to scripts.
Core type definitions and utilities for ESEngine.
std::int32_t i32
Signed 32-bit integer.
std::uint32_t u32
Unsigned 32-bit integer.
float f32
32-bit floating point
u32 material
Custom material ID (0 = use default batch shader).
bool flipX
Flip armature horizontally.
bool playing
Whether animation is currently playing.
bool flipY
Flip armature vertically.
std::string animation
Current animation name.
glm::vec4 color
Color tint (RGBA, 0-1 range).
i32 layer
Sorting layer (higher = rendered on top).
f32 skeletonScale
Armature scale factor.
bool loop
Whether to loop the animation.
std::string skeletonPath
Skeleton data (*_ske.json or .dbbin).
f32 fadeInTime
Seconds to crossfade over when the animation changes.
bool needsReload
Set while the paths have changed and the armature is not built yet.
std::string armature
Which armature in the file; empty takes the first.
DragonBonesAnimation()=default
std::string atlasPath
Texture atlas data (*_tex.json).
f32 timeScale
Animation playback speed multiplier.