Skip to content

AnimClipPivotData

Defined in: animation/AnimClipLoader.ts:25

A frame’s anchor, normalized inside the frame’s own rect — EXACTLY the space Sprite.pivot uses: (0,0) = bottom-left, (0.5,0.5) = center, (1,1) = top-right. The same numbers travel from the file to the component with no conversion, so “feet on the ground” is { x: 0.5, y: 0 } in both places. Values outside 0–1 are allowed (they anchor outside the frame), matching Sprite.pivot.

x: number

Defined in: animation/AnimClipLoader.ts:26


y: number

Defined in: animation/AnimClipLoader.ts:27