AnimClipAssetData
此内容尚不支持你的语言。
Defined in: animation/AnimClipLoader.ts:109
Properties
Section titled “Properties”events?
Section titled “events?”
optionalevents?:AnimClipEventData[]
Defined in: animation/AnimClipLoader.ts:125
optionalfps?:number
Defined in: animation/AnimClipLoader.ts:112
frames
Section titled “frames”frames:
AnimClipFrameData[]
Defined in: animation/AnimClipLoader.ts:124
frameSizing?
Section titled “frameSizing?”
optionalframeSizing?:AnimClipSizing
Defined in: animation/AnimClipLoader.ts:122
Who owns Sprite.size — see AnimClipSizing. Absent = 'entity'.
optionalloop?:boolean
Defined in: animation/AnimClipLoader.ts:113
pivot?
Section titled “pivot?”
optionalpivot?: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.
sheet?
Section titled “sheet?”
optionalsheet?:AnimClipSheetData
Defined in: animation/AnimClipLoader.ts:123
type:
"animation-clip"
Defined in: animation/AnimClipLoader.ts:111
version
Section titled “version”version:
string
Defined in: animation/AnimClipLoader.ts:110