Expand description
This crate contains types and functions for managing playback of frame sequences over time.
Modules§
- aseprite
- The
aseprite
module contains types and functions extracting information from the json export data feature provided by Aseprite.
Structs§
- Animation
Clip 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?”- Animation
Clip Template - Cell
Info 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
.- Clip
Store - Frame
- Frame
Tag - Region
Enums§
- Direction
- Play
Mode PlayMode
controls how the current frame data for a clip at a certain time is calculated with regards to the duration bounds.