AnimationDef
Defined in: renderer/src/AnimationController.ts:8
Definition for a single named animation.
Properties
Section titled “Properties”anchor?
Section titled “anchor?”
optionalanchor?:object
Defined in: renderer/src/AnimationController.ts:18
Per-animation anchor override.
x:
number
y:
number
frames?
Section titled “frames?”
optionalframes?:Texture<TextureSource<any>>[]
Defined in: renderer/src/AnimationController.ts:12
Raw frame textures (not serializable). Resolved from source if omitted.
optionalloop?:boolean
Defined in: renderer/src/AnimationController.ts:16
Whether the animation loops. Default: true.
source?
Section titled “source?”
optionalsource?:FrameSource
Defined in: renderer/src/AnimationController.ts:10
Serializable frame source (sprite strip or atlas).
speed:
number
Defined in: renderer/src/AnimationController.ts:14
PixiJS animationSpeed value (e.g. 0.15).