setFromJSON Method

Set this Transform instance from flexible inputs:

  • Any object (such as another Transform) that has origin and matrix members accepted by Point3d.setFromJSON and Matrix3d.setFromJSON
  • An array of 3 number arrays, each with 4 entries which are rows in a 3x4 matrix.
  • An array of 12 numbers, each block of 4 entries as a row 3x4 matrix.

setFromJSON(json?: TransformProps): void

Parameter Type Description
json TransformProps  

Defined in

Last Updated: 08 January, 2020