ColorOperator.Lerp Method

Language:

Creates a color value using linear interpolation.

Overload List

public static Color Lerp(Color, Color, float);
public static ColorValue Lerp(ColorValue, ColorValue, float);
public static int Lerp(int, int, float);

Remarks

If linear interpolation is performed between the colors A and B, and s is 0, the resulting color is A. If s is 1, the resulting color is B.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center