Wiki > TV3D65 Index > TVMathLibrary
Performs linear interpolation between two colors.
| VB.NET | TVColorLerp(retOutColor As TV_COLOR , cColor1 As TV_COLOR , cColor2 As TV_COLOR , fS As Single) |
|---|---|
| C++ | void TVColorLerp(cTV_COLOR* retOutColor , cTV_COLOR* cColor1 , cTV_COLOR* cColor2 , float fS ) |
| NAME | OPTIONAL | DESCRIPTION |
|---|---|---|
| cColor1 | No | Color 1 |
| cColor2 | No | Color 2 |
| fS | No | Interpolation coefficient <0;1> |
| NAME | OPTIONAL | DESCRIPTION |
|---|---|---|
| retOutColor | No | Interpolated color |
| Example | Basic example. |
|---|