AbstractGroupAnimations
AbstractGroupAnimations ⇐ MAbstract
Kind: global abstract class
Extends: MAbstract
Properties
| Name | Type | Description |
|---|---|---|
| animations | array.<{}> | Array of animation parameters |
| loopForEver | boolean | True if animations should loop for ever, ie at the end restart from the begining |
| delay | number | The delay of the group animations |
| loop | AbstractRenderingLoopTimer | rendering loop timer |
| duration | number | total duration of the animations |
- AbstractGroupAnimations ⇐
MAbstract
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
| Param | Type | Default | Description |
|---|---|---|---|
| [applyBaseDelay] | boolean | true | if true will add the base delay to all the animations |
| [progress] | number | 0 | base progress for the animations (only for the current set of animations |
stop(options)
Stop the group animations
Kind: static method of AbstractGroupAnimations
| Param | Type | Description |
|---|---|---|
| options | Object | Additional options |
| [options.stopImmediately] | boolean | true to immediately stop the animations, otherwise wait the end of the last animation |