[]
Performs a linear interpolation between two matrices based on the given weighting.
public static void LerpRef(out Matrix3x2 result, ref Matrix3x2 matrix1, ref Matrix3x2 matrix2, float amount)
Type | Name | Description |
---|---|---|
Matrix3x2 | result | When the method completes, contains an the interpolated matrix. |
Matrix3x2 | matrix1 | The first matrix. |
Matrix3x2 | matrix2 | The second matrix. |
float | amount | A value between 0 and 1 that indicates the weight of matrix2. |