struct
SpriteSheetGridAnimation
Descriptor that describes a simple sprite sheet animation.
The parent area is split into a grid of
x , each representing one frame of the animation. Every frame is of equal size. Frames are sequentially evaluated starting from the top-most row, iterating over all columns in a row and then moving to next row, up to frames. frames are evaluated every second, allowing you to control animation speed.
Public
Constructors
SpriteSheetGridAnimation
SpriteSheetGridAnimation
Fields
RowCount
Number of rows to divide the parent area in.
Determines height of the individual frame (depends on parent area size).
ColumnCount
Number of columns to divide the parent area in.
Determines column of the individual frame (depends on parent area size).
FrameCount
Number of frames in the animation.
Must be less or equal than
- .
FramesPerSecond
How many frames to evaluate each second.
Determines the animation speed.