Matrix4x4::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 Matrix4x4 Lerp( Matrix4x4 matrix1, Matrix4x4 matrix2, float amount )
Parameters
- matrix1
- Type: System.Numerics::Matrix4x4
The first matrix.
- matrix2
- Type: System.Numerics::Matrix4x4
The second matrix.
- amount
- Type: System::Single
The relative weighting of matrix2.
Show: