Tweens a color's red, green, and blue properties independently. Can also tween an alpha value.
Constructor
Variables
Methods
tween(Duration:Float, FromColor:FlxColor, ToColor:FlxColor, ?Sprite:FlxSprite):ColorTween
Tweens the color to a new color and an alpha to a new alpha.
Parameters:
Duration | Duration of the tween. |
---|---|
FromColor | Start color. |
ToColor | End color. |
Sprite | Optional sprite object whose color to tween. |
Returns:
The ColorTween.