Click or drag to resize
ColorCMYKLerpUnclamped 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 LerpUnclamped(
	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. Typically within the range [0, 1], but does not need to be, and will not be clamped.

Return Value

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

When specifying a t value outside the range [0, 1], the resulting color may no longer be within the valid range of the color space, even if the two original colors are within the valid range.

See Also