math docs
    Preparing search index...

    Function multiplyScalar

    • Multiply each element of the matrix by a scalar.

      Parameters

      • out: mat2d.Mat2d

        the receiving matrix

      • a: readonly [number, number, number, number, number, number]

        the matrix to scale

      • b: number

        amount to scale the matrix's elements by

      Returns mat2d.Mat2d

      out