AnimationFrame
Defined in: packages/three-flatland/src/animation/types.ts:6
A single frame in an animation sequence.
Properties
Section titled “Properties”
optionaldata?:Record<string,unknown>
Defined in: packages/three-flatland/src/animation/types.ts:14
Custom data attached to this frame
duration?
Section titled “duration?”
optionalduration?:number
Defined in: packages/three-flatland/src/animation/types.ts:10
Duration of this frame in milliseconds (overrides animation fps)
event?
Section titled “event?”
optionalevent?:string
Defined in: packages/three-flatland/src/animation/types.ts:12
Event to fire when this frame is reached
frame:
SpriteFrame
Defined in: packages/three-flatland/src/animation/types.ts:8
Reference to the sprite frame