Share via


Matrix.Lerp Method (Matrix, Matrix, Single)

Linearly interpolates between the corresponding values of two matrices.

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

Syntax

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

Parameters

  • matrix1
    Source matrix.
  • matrix2
    Source matrix.
  • amount
    Interpolation value.

Return Value

Resulting matrix.

See Also

Reference

Matrix Structure
Matrix Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista