Phaser API Documentation

  Version: 
copyToArray([out])

Description:

Copy the values in this Matrix to the array given.

Where array indexes 0, 1, 2, 3, 4 and 5 are mapped to a, b, c, d, e and f.

Parameters:

name type arguments description
out array <optional>

The array to copy the matrix values in to.

Returns:
Description:

An array where elements 0 to 5 contain the values from this matrix.

Type:
  • array
Since: 3.12.0