SlimDX Documentation
Lerp Method (start, end, amount, result)
NamespacesSlimDXMatrixLerp(Matrix%, Matrix%, Single, Matrix%)
Performs a linear interpolation between two matricies.
Declaration Syntax
C#
public static void Lerp(
	ref Matrix start,
	ref Matrix end,
	float amount,
	out Matrix result
)
Parameters
start (Matrix%)
Start matrix.
end (Matrix%)
End matrix.
amount (Single)
Value between 0 and 1 indicating the weight of end.
result (Matrix%)
When the method completes, contains the linear interpolation of the two matricies.
Remarks
This method performs the linear interpolation based on the following formula.
CopyC#
start + (end - start) * amount
Passing amount a value of 0 will cause start to be returned; a value of 1 will cause end to be returned.

Assembly: SlimDX (Module: SlimDX) Version: 2.0.11.43