• Set the given matrix "result" as the interpolated values for "gradient" (float) between the ones of the matrices "startValue" and "endValue".

    Parameters

    • startValue: ReadonlyMatrix

      defines the start value

    • endValue: ReadonlyMatrix

      defines the end value

    • gradient: number

      defines the gradient factor

    • result: MutableMatrix

      defines the Matrix object where to store data

    Returns void