 | MathUtilsLerp Method |
Linear interpolation of a float. TODO: generic
Namespace: Slash.Math.UtilsAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntaxpublic static float Lerp(
float x,
float y,
float step
)
Public Shared Function Lerp (
x As Single,
y As Single,
step As Single
) As Single
public:
static float Lerp(
float x,
float y,
float step
)
static member Lerp :
x : float32 *
y : float32 *
step : float32 -> float32
Parameters
- x
- Type: SystemSingle
First value. - y
- Type: SystemSingle
Second value. - step
- Type: SystemSingle
Weight.
Return Value
Type:
Single Interpolated value.
See Also