Matrix3x2::Lerp Method

Performs a linear interpolation from one matrix to a second matrix based on a value that specifies the weighting of the second matrix.

Namespace:  System.Numerics
Assembly:  System.Numerics.Vectors (in System.Numerics.Vectors.dll)

public:
static Matrix3x2 Lerp(
	Matrix3x2 matrix1, 
	Matrix3x2 matrix2, 
	float amount
)

Parameters

matrix1
Type: System.Numerics::Matrix3x2

The first matrix.

matrix2
Type: System.Numerics::Matrix3x2

The second matrix.

amount
Type: System::Single

The relative weighting of matrix2.

Return Value

Type: System.Numerics::Matrix3x2
The interpolated matrix.
Show: