Join us online - 19th of November
Save your spot
For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Function multiplyScalar

  • Multiply each element of the matrix by a scalar.

    Parameters

    • out: mat4

      the receiving matrix

    • a: ReadonlyMat4

      the matrix to scale

    • b: number

      amount to scale the matrix's elements by

    Returns mat4

    out

Was this helpful?