Linear interpolation (blending) between two values

Namespace: VVVV.Utils.VMath
Assembly: VVVV.Utils (in VVVV.Utils.dll) Version: 1.0.4694.10871

Syntax

C#
public static double Lerp(
	double a,
	double b,
	double x
)

Parameters

a
Type: System..::..Double

[Missing <param name="a"/> documentation for "M:VVVV.Utils.VMath.VMath.Lerp(System.Double,System.Double,System.Double)"]

b
Type: System..::..Double

[Missing <param name="b"/> documentation for "M:VVVV.Utils.VMath.VMath.Lerp(System.Double,System.Double,System.Double)"]

x
Type: System..::..Double

[Missing <param name="x"/> documentation for "M:VVVV.Utils.VMath.VMath.Lerp(System.Double,System.Double,System.Double)"]

Return Value

Linear interpolation between a and b if x in the range ]0..1[ or a if x = 0 or b if x = 1

See Also