AbstractGroupAnimations

AbstractGroupAnimations ⇐ MAbstract

Kind: global abstract class
Extends: MAbstract
Properties

NameTypeDescription
animationsarray.<{}>

Array of animation parameters

loopForEverboolean

True if animations should loop for ever, ie at the end restart from the begining

delaynumber

The delay of the group animations

loopAbstractRenderingLoopTimer

rendering loop timer

durationnumber

total duration of the animations

AbstractGroupAnimations()

A model of a group of animations Allow to play a list of animations

start([applyBaseDelay], [progress]) ⇒ Promise.<void>

Start the group animations

Kind: static method of AbstractGroupAnimations

ParamTypeDefaultDescription
[applyBaseDelay]booleantrue

if true will add the base delay to all the animations

[progress]number0

base progress for the animations (only for the current set of animations

stop(options)

Stop the group animations

Kind: static method of AbstractGroupAnimations

ParamTypeDescription
optionsObject

Additional options

[options.stopImmediately]boolean

true to immediately stop the animations, otherwise wait the end of the last animation