LinearLerp(Single, Single, Single) 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.2414.4032
C#
public static float Lerp(
	float start,
	float end,
	float progress
)

Parameters

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

Return Value

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

See Also