setFromJSON Method

copy data from various input forms to this matrix:

  • 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?: Matrix3dProps): void

Parameter Type Description
json Matrix3dProps  

Defined in

Last Updated: 08 January, 2020