Animation
Defined in: packages/three-flatland/src/animation/types.ts:20
Animation definition.
Properties
Section titled “Properties”
optionalfps?:number
Defined in: packages/three-flatland/src/animation/types.ts:26
Frames per second (default: 12)
frames
Section titled “frames”frames:
AnimationFrame[]
Defined in: packages/three-flatland/src/animation/types.ts:24
Sequence of frames
optionalloop?:boolean
Defined in: packages/three-flatland/src/animation/types.ts:28
Whether to loop (default: true)
loopCount?
Section titled “loopCount?”
optionalloopCount?:number
Defined in: packages/three-flatland/src/animation/types.ts:32
Number of times to loop (-1 for infinite, default)
name:
string
Defined in: packages/three-flatland/src/animation/types.ts:22
Animation name
pingPong?
Section titled “pingPong?”
optionalpingPong?:boolean
Defined in: packages/three-flatland/src/animation/types.ts:30
Ping-pong animation (play forward then backward)