Skip to content

Defined in: packages/three-flatland/src/animation/types.ts:20

Animation definition.

optional fps?: number

Defined in: packages/three-flatland/src/animation/types.ts:26

Frames per second (default: 12)


frames: AnimationFrame[]

Defined in: packages/three-flatland/src/animation/types.ts:24

Sequence of frames


optional loop?: boolean

Defined in: packages/three-flatland/src/animation/types.ts:28

Whether to loop (default: true)


optional loopCount?: 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


optional pingPong?: boolean

Defined in: packages/three-flatland/src/animation/types.ts:30

Ping-pong animation (play forward then backward)