跳转到内容

AnimClipSizing

此内容尚不支持你的语言。

AnimClipSizing = "entity" | "frame"

Defined in: animation/AnimClipLoader.ts:46

Who owns Sprite.size while the clip plays. 'entity' — the default, and what every clip written before format 1.5 does — leaves the entity’s size alone, so every frame draws at that one size. 'frame' hands size to the clip and each frame draws at its own, which is what lets frames of DIFFERENT sizes share a clip.