![]() |
![]() |
![]() |
ColorOperator.Lerp Method |
Language: |
Creates a color value using linear interpolation.
public static Color Lerp(Color, Color, float); public static ColorValue Lerp(ColorValue, ColorValue, float); public static int Lerp(int, int, float);
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.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center