UMD.HCIL.Piccolo.PNode.Lerp C# (CSharp) Method

Lerp() static public method

Linearly interpolates between a and b, based on t. Specifically, it computes Lerp(a, b, t) = a + t*(b - a). This produces a result that changes from a (when t = 0) to b (when t = 1).
static public Lerp ( float t, float a, float b ) : float
t float The variable 'time' parameter.
a float The starting value.
b float The ending value.
return float
		static public float Lerp(float t, float a, float b) {
			return (a + t * (b - a));
		}