[]
Performs a linear interpolation between two matrices based on the given weighting.
public static Matrix5x4 Lerp(Matrix5x4 matrix1, Matrix5x4 matrix2, float amount)
Type | Name | Description |
---|---|---|
Matrix5x4 | matrix1 | The first matrix. |
Matrix5x4 | matrix2 | The second matrix. |
float | amount | A value between 0 and 1 that indicates the weight of matrix2. |
Type | Description |
---|---|
Matrix5x4 | The interpolated matrix. |