Lerp Method (ColorUtil)
Linearly interpolates between two colors based on the ratio passed in. E.g. Ratio = 0.0f returns From color, ratio = 1.0f returns To Color. Ratio = 0.5f returns a mix of the two
Overload List
Overload | Description |
---|---|
Lerp(Color,Color,Single) | Linearly interpolates between two colors based on the ratio passed in. E.g. Ratio = 0.0f returns From color, ratio = 1.0f returns To Color. Ratio = 0.5f returns a mix of the two |
Lerp(UInt32,UInt32,Single) | Linearly interpolates between two colors based on the ratio passed in. E.g. Ratio = 0.0f returns From color, ratio = 1.0f returns To Color. Ratio = 0.5f returns a mix of the two |
Lerp(LinearColorMap,Double) | Linearly interpolates a data-value in a LinearColorMap, which specifies Gradient Stops, Data Minimum and Maximum and color stepping mode |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also