Spritesheet Frame Layout.
count
Readonly
Column Count.
Optional
Used Frame Count.
cols × rows
Row Count.
frames: { cols: 8, rows: 1 }frames: { cols: 4, rows: 4, count: 14 }frames: [{ x: 0, y: 0, width: 32, height: 32 }, { x: 32, y: 0, width: 32, height: 32 }] Copy
frames: { cols: 8, rows: 1 }frames: { cols: 4, rows: 4, count: 14 }frames: [{ x: 0, y: 0, width: 32, height: 32 }, { x: 32, y: 0, width: 32, height: 32 }]
Spritesheet Frame Layout.
countlimits the frames used when the last row is not full.