Class: Tween

Tween(cmpTween, tweenee)

new Tween(cmpTween, tweenee)

TWEEN equivolent, a CmpTween (TWEEN.Tween) component operation helper. API Stype: XTweener.Tween(CmpTween).to(CmpTween, properties, duration);

Parameters:
Name Type Description
cmpTween XComponent.CmpTween

tween component

tweenee object

object to be tweened (e.g. a THREE.Object3D property)

Source: