Open Dev Kit Documentation :: General :: Color :: Linear Interpolate
Root.Color.Lerp( Color 1 Color, Color 2 Color, Factor Float ) ColorReturns Color 1 if Factor is 0, Color 2 if Factor is 1 and the average of Color 1 and 2 if Factor is 0.5, with everything in between using color interpolation
Parameters
- Color 1 Color
- The first color
- Color 2 Color
- The second color
- Factor Float
- The factor of which value is returned (usually between 0.0 and 1.0)
Return Value
If you think anything is missing, please feel free to: submit documentation feedback on this page
