Constructor
new Tween(into, to, from)
- Source:
Parameters:
Name |
Type |
Description |
into |
T
|
|
to |
T
|
|
from |
T
|
|
Classes
- Tween
Members
_duration :number
- Source:
Type:
_repeat :boolean
- Source:
Type:
active :boolean
- Source:
Type:
Methods
chain(next)
- Source:
Parameters:
Name |
Type |
Description |
next |
Tween.<T>
|
|
duration(t)
- Source:
Parameters:
Name |
Type |
Description |
t |
number
|
|
easing(callback)
- Source:
Parameters:
from(x)
- Source:
Parameters:
Name |
Type |
Description |
x |
T
|
|
interpolant(callback)
- Source:
Parameters:
onUpdate(callback)
- Source:
Parameters:
to(x)
- Source:
Parameters:
Name |
Type |
Description |
x |
T
|
|
(static) update(tween, dt)
- Source:
Parameters:
Name |
Type |
Description |
tween |
Tween.<U>
|
|
dt |
number
|
|