Function: createAnimation()
createAnimation(
animationName,spritesPerColumn,spritesPerRow,options?):AnimationClip
Defined in: animations/utilities/create-animation.ts:64
Parameters
animationName
string
The name of the animation (e.g., 'walk', 'run').
spritesPerColumn
number
The number of sprites in each column of the sprite sheet.
spritesPerRow
number
The number of sprites in each row of the sprite sheet.
options?
Partial<AnimationCreationOptions>
Optional parameters for creating the animation set.
Returns
An Animation object containing the generated animation frames.