Build a clip from a named animation in a loaded PixiJS Spritesheet.
Optional
const sheet = await Assets.load<Spritesheet>('/hero.json'); const idle = clipFromSheet(sheet, 'idle', { frameDuration: 1 / 12 }); Copy
const sheet = await Assets.load<Spritesheet>('/hero.json'); const idle = clipFromSheet(sheet, 'idle', { frameDuration: 1 / 12 });
Build a clip from a named animation in a loaded PixiJS Spritesheet.