LinearLerp(Double, Double, Double) Method

Return the linear interpolation of the scalar value between start and end representing the specified progress as a value between 0 and 1.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2613.4238
C#
public static double Lerp(
	double start,
	double end,
	double progress
)

Parameters

start  Double
The starting position.
end  Double
The ending position.
progress  Double
The progress of completion between the start and end values.

Return Value

Double
The linear interpolated value between start and end as indicated by the progress value.

See Also