WTween
Defined in: tweens/wtween.ts:4
Extends
Constructors
Constructor
new WTween():
WTween
Defined in: tweens/wtweenlike.ts:16
Returns
WTween
Inherited from
Accessors
isRunning
Get Signature
get isRunning():
boolean
Defined in: tweens/wtweenlike.ts:2
Returns
boolean
Inherited from
Methods
cancel()
cancel():
void
Defined in: tweens/wtweenlike.ts:53
Returns
void
Inherited from
complete()
complete():
void
Defined in: tweens/wtweenlike.ts:57
Returns
void
Inherited from
duration()
duration(
duration):this
Defined in: tweens/wtween.ts:10
Parameters
duration
number
Returns
this
ease()
ease(
ease):this
Defined in: tweens/wtween.ts:14
Parameters
ease
EasingFunction | "linear" | "inSine" | "outSine" | "inOutSine" | "inQuad" | "outQuad" | "inOutQuad" | "inCubic" | "outCubic" | "inOutCubic" | "inQuart" | "outQuart" | "inOutQuart" | "inQuint" | "outQuint" | "inOutQuint" | "inExpo" | "outExpo" | "inOutExpo" | "inCirc" | "outCirc" | "inOutCirc" | "inBack" | "outBack" | "inOutBack" | "inElastic" | "outElastic" | "inOutElastic"
Returns
this
onComplete()
onComplete(
callback):this
Defined in: tweens/wtweenlike.ts:31
Parameters
callback
() => void
Returns
this
Inherited from
onPlay()
onPlay(
callback):this
Defined in: tweens/wtweenlike.ts:23
Parameters
callback
() => void
Returns
this
Inherited from
onUpdate()
onUpdate(
callback):this
Defined in: tweens/wtweenlike.ts:27
Parameters
callback
(progress) => void
Returns
this
Inherited from
pause()
pause():
void
Defined in: tweens/wtweenlike.ts:49
Returns
void
Inherited from
play()
play():
void
Defined in: tweens/wtweenlike.ts:43
Returns
void
Inherited from
then()
then<
TResult1,TResult2>(onfulfilled?,onrejected?):PromiseLike<TResult1|TResult2>
Defined in: tweens/wtweenlike.ts:36
Attaches callbacks for the resolution and/or rejection of the Promise.
Type Parameters
TResult1
TResult1 = void
TResult2
TResult2 = never
Parameters
onfulfilled?
The callback to execute when the Promise is resolved.
null | (value) => TResult1 | PromiseLike<TResult1>
onrejected?
The callback to execute when the Promise is rejected.
null | (reason) => TResult2 | PromiseLike<TResult2>
Returns
PromiseLike<TResult1 | TResult2>
A Promise for the completion of which ever callback is executed.
Inherited from
update()
update(
delta):void
Defined in: tweens/wtween.ts:19
Parameters
delta
number
Returns
void