Expand description
This crate contains types and functions for managing playback of frame sequences over time.
Modules§
- The
aseprite
module contains types and functions extracting information from the json export data feature provided by Aseprite.
Structs§
AnimationClip
is a group of cell indexes paired with durations such that it can track playback progress over time. It answers the question of “what subsection of a sprite sheet should I render at this time?”CellInfo.idx
points to an index inSpriteSheetData.cells
andCellInfo.duration
indicates how long this section of the texture atlas should be displayed as per anAnimationClip
.
Enums§
PlayMode
controls how the current frame data for a clip at a certain time is calculated with regards to the duration bounds.