Share via


Matrix.Lerp Method (Matrix, Matrix, Single, Matrix)

Linearly interpolates between the corresponding values of two matrices.

Syntax

'Declaration
Public Shared Sub Lerp ( _
         ref matrix1 As Matrix, _
         ref matrix2 As Matrix, _
         amount As Single, _
         out result As Matrix _
)
public static void Lerp (
         ref Matrix matrix1,
         ref Matrix matrix2,
         float amount,
         out Matrix result
)
public:
static void Lerp(
         ref Matrix matrix1,
         ref Matrix matrix2,
         float amount,
         out Matrix result
)

Parameters

Requirements

Namespace: Microsoft.Xna.Framework

Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

See Also

Reference

Matrix Structure
Matrix Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone