• Builds a new matrix whose values are computed by:

    • decomposing the the "startValue" and "endValue" matrices into their respective scale, rotation and translation matrices
    • interpolating for "gradient" (float) the values between each of these decomposed matrices between the start and the end
    • recomposing a new matrix from these 3 interpolated scale, rotation and translation matrices

    Returns

    the new matrix

    Parameters

    • startValue: ReadonlyMatrix

      defines the first matrix

    • endValue: ReadonlyMatrix

      defines the second matrix

    • gradient: number

      defines the gradient between the two matrices

    Returns MutableMatrix