LM.Lerp(f, min, max)
Version added: before 9.5
This function is a shortcut for linear interpolation between two numbers
Arguments:
| Name | Type | Description | Default | Ver |
| f | real | A number between (and including) 0 and 1 | < 9.5 | |
| min | real | The starting value to interpolate | < 9.5 | |
| max | real | The end value to interpolate | < 9.5 |
Return value:
real a linear interpolation between start and end
This function is a shortcut for linear interpolation between two numbers. If value is 0, then start is returned. If value is 1, end is returned. For anything in between, the function interpolates between start and end.
Search results
Usage of 'Lerp' is found in the following scripts:
SS - Blob Brush+ (Original Edition) by simplsam
View Code
LF_Pencil (Beta version) by lucasfranca
View Code