static Color32 Lerp (in Color32 a, in Color32 b, float frac)

Parameters

NameTypeDescription
in a Color32 The source color.
in b Color32 The target color.
frac float Fraction to the target color. 0 will return source color, 1 will return target color, 0.5 will "mix" the 2 colors equally.

Returns

TypeDescription
Color32 The interpolated color.
Declared in Color32 ยท Assembly Sandbox.System
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.