static Color Lerp(Color a, Color b, float t)
This will linearly blend between two different colors! Best done on linear colors, rather than gamma corrected colors, but will work either way. This will not clamp the percentage to the 0-1 range.
|Color a||The first color, this will be the result if
|Color b||The second color, this will be the result if
|float t||A percentage representing the blend between
|RETURNS: Color||A blended color.|
Found an issue with these docs, or have some additional questions? Create an Issue on Github!