Click or drag to resize
MathUtilsLerp Method
Linear interpolation of a float. TODO: generic

Namespace: Slash.Math.Utils
Assembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntax
public static float Lerp(
	float x,
	float y,
	float step
)

Parameters

x
Type: SystemSingle
First value.
y
Type: SystemSingle
Second value.
step
Type: SystemSingle
Weight.

Return Value

Type: Single
Interpolated value.
See Also