Deprecated
The group parameter is now deprecated, instead use new Tween(object)
then group.add(tween)
to add a tween to a group. Use
new Tween(object, true)
to restore the old behavior for now, but this
will be removed in the future.
Private
_chainedPrivate
_delayPrivate
_durationPrivate
_easingPrivate
_goPrivate
Optional
_groupPrivate
_idPrivate
_initialPrivate
_interpolationPrivate
_isPrivate
_isPrivate
_isPrivate
_isPrivate
_objectPrivate
Optional
_onPrivate
Optional
_onPrivate
_onPrivate
Optional
_onPrivate
Optional
_onPrivate
_onPrivate
Optional
_onPrivate
Optional
_onPrivate
_pausePrivate
_propertiesPrivate
_repeatPrivate
Optional
_repeatPrivate
_reversedPrivate
_startPrivate
_valuesPrivate
_valuesPrivate
_valuesPrivate
_yoyoStatic
autoPrivate
_handlePrivate
_setupPrivate
_swapPrivate
_updateRemoves the tween from the current group it is in, if any, then adds the
tween to the specified group
.
Deprecated
The argless call signature has been removed. Use
tween.group(group)
or group.add(tween)
, instead.
Optional
callback: (object: T) => voidOptional
callback: (object: T) => voidOptional
callback: (object: T) => voidOptional
callback: (object: T) => voidOptional
callback: (object: T) => voidOptional
callback: (object: T, elapsed: number) => voidOptional
amount: numberOptional
time: numberWhen true, calling update will implicitly call start() as well. Note, if you stop() or end() the tween, but are still calling update(), it will start again!
true if the tween is still playing after the update, false otherwise (calling update on a paused tween still returns true because it is still playing, just paused).
The object whose properties this Tween will animate.