Easing.

Lerp(float, float, float) Method

Summary

Returns a linearly interpolated value between the `start` and `end` based on a normalized `value`.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
Easing

Syntax

public static float Lerp(float start, float end, float value)

Remarks

  • value = 0 returns start.
  • value = 0.5 returns (start + end) / 2.
  • value = 1 returns end.
This method is identical to UnityEngine.Mathf.LerpUnclamped(System.Single,System.Single,System.Single).

Parameters

Name Type Description
start float
end float
value float

Return Value

Type Description
float