Matrix.Lerp Method (Matrix, Matrix, Single)

Linearly interpolates between the corresponding values of two matrices.

Namespace:  Microsoft.Xna.Framework
Assembly:  Microsoft.Xna.Framework.Math (in Microsoft.Xna.Framework.Math.dll)

public static Matrix Lerp(
	Matrix matrix1,
	Matrix matrix2,
	float amount
)

Parameters

matrix1
Type: Microsoft.Xna.Framework.Matrix
Source matrix.
matrix2
Type: Microsoft.Xna.Framework.Matrix
Source matrix.
amount
Type: System.Single
Interpolation value.

Return Value

Type: Microsoft.Xna.Framework.Matrix
Resulting matrix.

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: