89 glm::vec4
color{1.0f, 1.0f, 1.0f, 1.0f};
Type-safe resource handle system.
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.
Handle< esengine::spine::SpineSkeletonData > SpineDataHandle
Handle to a Spine skeleton data resource (vestigial — see fwd decl).
std::int32_t i32
Signed 32-bit integer.
std::uint32_t u32
Unsigned 32-bit integer.
float f32
32-bit floating point
glm::vec4 color
Color tint (RGBA, 0-1 range).
SpineAnimation()=default
Default constructor.
bool playing
Whether animation is currently playing.
bool loop
Whether to loop the animation.
std::string animation
Current animation name.
std::string skin
Current skin name (empty for default).
std::string skeletonPath
Path to skeleton data file (.skel or .json).
f32 skeletonScale
Skeleton scale factor.
resource::SpineDataHandle skeletonData
Handle to cached skeleton data (runtime, not serialized).
u32 material
Custom material ID (0 = use default batch shader).
bool needsReload
Flag indicating skeleton needs to be reloaded.
bool flipY
Flip skeleton vertically.
bool flipX
Flip skeleton horizontally.
std::string atlasPath
Path to atlas file (.atlas).
f32 timeScale
Animation playback speed multiplier.
SpineAnimation(const std::string &skelPath, const std::string &atlPath)
Constructs SpineAnimation with paths.
i32 layer
Sorting layer (higher = rendered on top).