Color.lerp

Returns the linear interpolation with another color

struct Color
void
lerp
(
const Color p_to
,
float p_weight
)

Parameters

p_to Color

Color to interpolate with

p_weight float

Interpolation factor in [0.0, 1.0] range

Meta