Animation:

0 1 2 3 4 << INDEX [----][--][---------][--][----] << Timline 4 2 9 2 4 << Duration in MS ^ | allTime

allDuration: 4+2+9+2+4 = 21 allTime: 16

allTime is the time the animation is played here. It can be bigger than 21

Hierarchy

  • FrameAnimationPlayer

Constructors

Properties

allDuration: number = 0
animSlices: number[] = []
frameDuration: number | number[]

Methods

Generated using TypeDoc