Struct Clip
Defined in File animation.h
Struct Documentation
-
struct Clip
Concrete ordered sprite animation, optionally qualified by facing; owns metadata, no resource or clock.
Public Members
-
std::string name
Owned clip lookup name; sprite identity also includes optional facing.
-
std::optional<std::string> facing
Optional exact facing qualifier; absent denotes an unqualified sprite clip.
-
std::string description
Owned human-readable metadata, not an executable behavior or lookup key.
-
std::vector<CE::Assets::Animation::TimedFrame> frames
Frames in playback order; valid clips are nonempty with positive durations.
-
bool loop = {}
True repeats the timeline; false holds the last frame/cell after completion.
-
std::string name