Share via


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

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 void Lerp (
         ref Matrix matrix1,
         ref Matrix matrix2,
         float amount,
         out Matrix result
)

Parameters

  • matrix1
    Source matrix.
  • matrix2
    Source matrix.
  • amount
    Interpolation value.
  • result
    [OutAttribute] Resulting matrix.

See Also

Reference

Matrix Structure
Matrix Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista