Non inline FlxColor functions for use in hscript files
Static methods
staticinterpolate(Color1:FlxColor, Color2:FlxColor, Factor:Float = 0.5):FlxColor
Get an interpolated color based on two different colors.
Parameters:
Color1 | The first color |
|---|---|
Color2 | The second color |
Factor | Value from 0 to 1 representing how much to shift Color1 toward Color2 |
Returns:
The interpolated color