Skip to content

createAnimation

createAnimation(spriteSheet, name, frameNames, options?): Animation

Defined in: packages/three-flatland/src/animation/utils.ts:95

Create a simple animation from an array of frame names.

SpriteSheet

string

string[]

number

boolean

boolean

Animation