Skip to content

AnimClipAssetData

Defined in: animation/AnimClipLoader.ts:109

optional events?: AnimClipEventData[]

Defined in: animation/AnimClipLoader.ts:125


optional fps?: number

Defined in: animation/AnimClipLoader.ts:112


frames: AnimClipFrameData[]

Defined in: animation/AnimClipLoader.ts:124


optional frameSizing?: AnimClipSizing

Defined in: animation/AnimClipLoader.ts:122

Who owns Sprite.size — see AnimClipSizing. Absent = 'entity'.


optional loop?: boolean

Defined in: animation/AnimClipLoader.ts:113


optional pivot?: AnimClipPivotData

Defined in: animation/AnimClipLoader.ts:120

Clip-wide anchor every frame inherits (frames override it per frame) — the same fallback relationship fps has with per-frame duration. Absent means the clip does not author anchors at all and playback leaves Sprite.pivot exactly as the entity authored it.


optional sheet?: AnimClipSheetData

Defined in: animation/AnimClipLoader.ts:123


type: "animation-clip"

Defined in: animation/AnimClipLoader.ts:111


version: string

Defined in: animation/AnimClipLoader.ts:110