setFromJSON Method

copy data from various input forms to this matrix. The source can be:

  • Another Matrix3d
  • An array of 3 arrays, each of which has the 3 numbers for a row of the matrix.
  • An array of 9 numbers in row major order.

setFromJSON(json?: Matrix3d | Matrix3dProps): void

Parameter Type Description
json Matrix3d | Matrix3dProps  

Returns - void

Defined in

Last Updated: 11 June, 2024