Method Lerp
- Namespace
- Gamelogic.Extensions.Algorithms
- Assembly
- Gamelogic.Extensions.dll
Lerp(Vector4, Vector4, float)
Linearly interpolates between the two given samples.
protected override Vector4 Lerp(Vector4 outputSampleMin, Vector4 outputSampleMax, float t)
Parameters
outputSampleMin
Vector4The value when t is less than or equal to 0.
outputSampleMax
Vector4The value when t is greater than or equal to 1.
t
floatThe fraction of the minimum sample to use.