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 returnsstart .value = 0.5 returns(start + end) / 2 .value = 1 returnsend .
UnityEngine.Mathf.LerpUnclamped(System.Single,System.Single,System.Single)
.
Parameters
Name | Type | Description |
---|---|---|
start | float | |
end | float | |
value | float |
Return Value
Type | Description |
---|---|
float |