Skip to Content
APIFunctionsmatrixToTransformObject

Function: matrixToTransformObject()

matrixToTransformObject(matrix): Transform

Decompose the matrix into a scale, rotation and translation. In a format that can be used directly with the Substance 3d API.

Parameters

ParameterTypeDescription
matrixMatrixThe babylon matrix

Returns

Transform

The decomposed matrix

Last updated on