Skip to content

animClipFrameSize

animClipFrameSize(data, frame, natural?): AnimClipVec2 | null

Defined in: animation/AnimClipLoader.ts:213

The size a frame renders at: its own override, else its natural size (the caller’s — a sheet cell, or the texture’s pixels) — or null when the clip does not own size, which leaves Sprite.size as the entity authored it.

AnimClipAssetData

AnimClipFrameData

AnimClipVec2 | null

AnimClipVec2 | null