Animations
Functions
- translate(entity, ecd, parameter, time, transitionFunction) ⇒
Tween
- fade(entity, ecd, parameter, time, transitionFunction) ⇒
Tween
translate(entity, ecd, parameter, time, transitionFunction) ⇒ Tween
Kind: global function
Param | Type | Description |
---|---|---|
entity | number | |
ecd | EntityComponentDataset | |
parameter | Vector3 | destination in local offset from current position |
time | number | duration |
transitionFunction | function |
fade(entity, ecd, parameter, time, transitionFunction) ⇒ Tween
Kind: global function
Param | Type | Description |
---|---|---|
entity | number | |
ecd | EntityComponentDataset | |
parameter | Vector3 | final opacity, 1 - fully opaque, 0 - fully transparent |
time | number | duration |
transitionFunction | function |
fade~model3d : Mesh
Kind: inner constant of fade