Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
TWEEN
Tween
Class Tween
Index
Constructor methods
constructor
Methods
chain
delay
easing
interpolation
onComplete
onStart
onUpdate
repeat
start
stop
to
update
yoyo
Constructor methods
constructor
(
object
?:
any
)
:
Tween
Parameters
object?:
any
optional
Returns
Tween
Methods
public
chain
(
tweens
?:
Tween
[]
)
:
Tween
Parameters
tweens?:
Tween
[]
optional
Returns
Tween
public
delay
(
amount
:
number
)
:
Tween
Parameters
amount:
number
Returns
Tween
public
easing
(
easing
:
(k: number) => number
)
:
Tween
Parameters
easing:
(k: number) => number
Returns
Tween
public
interpolation
(
interpolation
:
(v: number[], k: number) => number
)
:
Tween
Parameters
interpolation:
(v: number[], k: number) => number
Returns
Tween
public
onComplete
(
callback
:
(object?: any) => void
)
:
Tween
Parameters
callback:
(object?: any) => void
Returns
Tween
public
onStart
(
callback
:
(object?: any) => void
)
:
Tween
Parameters
callback:
(object?: any) => void
Returns
Tween
public
onUpdate
(
callback
:
(object?: any) => void
)
:
Tween
Parameters
callback:
(object?: any) => void
Returns
Tween
public
repeat
(
times
:
number
)
:
Tween
Parameters
times:
number
Returns
Tween
public
start
(
time
?:
number
)
:
Tween
Parameters
time?:
number
optional
Returns
Tween
public
stop
(
)
:
Tween
Returns
Tween
public
to
(
properties
:
any
, duration
:
number
)
:
Tween
Parameters
properties:
any
duration:
number
Returns
Tween
public
update
(
time
:
number
)
:
boolean
Parameters
time:
number
Returns
boolean
public
yoyo
(
enable
:
boolean
)
:
Tween
Parameters
enable:
boolean
Returns
Tween
Globals
TWEEN
Easing
Interpolation
REVISION
Tween
constructor
chain
delay
easing
interpolation
onComplete
onStart
onUpdate
repeat
start
stop
to
update
yoyo
add
getAll
remove
removeAll
update