Click or drag to resize
ColorCMYKLerp Method
Performs a linear interpolation between the two colors specified for each color channel independently.

Namespace: Experilous.MakeItColorful
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public static ColorCMYK Lerp(
	ColorCMYK a,
	ColorCMYK b,
	float t
)

Parameters

a
Type: Experilous.MakeItColorfulColorCMYK
The first color to be interpolated between, corresponding to a t value of 0.
b
Type: Experilous.MakeItColorfulColorCMYK
The second color to be interpolated between, corresponding to a t value of 1.
t
Type: SystemSingle
The parameter specifying how much each color is weighted by the interpolation. Will be clamped to the range [0, 1].

Return Value

Type: ColorCMYK
A new color that is the result of the linear interpolation between the two original colors.
See Also