Skip to content

parseAnimClipData

parseAnimClipData(clipPath, data, textureHandles, textureSizes?): SpriteAnimClip

Defined in: animation/AnimClipLoader.ts:449

Bake a parsed clip into what the runtime plays.

string

AnimClipAssetData

Map<string, number>

Map<string, AnimClipVec2>

SpriteAnimClip

textureSizes carries each frame texture’s pixel size, which is the natural size of a per-texture frame — without it a clip that owns size has nothing to fall back to and says so.