Tween
Example:
new Tween({
duration: 500,
onStep: (t, percent) => {
console.log(percent)
},
onEnd: () => {
console.log('tween end')
}
})
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public |
clockId: * |
|
| public |
|
|
| public |
duration: * |
|
| public |
ease: * |
|
| public |
options: {} |
|
| public |
pausedTime: * |
|
| public |
|
|
| public |
|
|
Method Summary
| Public Methods | ||
| public |
isTweening(): * |
|
| public |
pause() |
|
| public |
setOptions(options: {}) |
|
| public |
start(): * |
|
| public |
step(time: *) |
|
| public |
stop() |
|