Decompose Matrix#

xform matrix decomposition

Installation#

To use this Node, you must enable omni.anim.shared.core in the Extension Manager.

Inputs#

Name

Type

Description

Default

matrix

matrixd[4]

Input matrix.

[[1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0]]

rotateOrder

int

controls the order in which rx, ry, rz are applied in the transformation matrix.

0

Outputs#

Name

Type

Description

Default

translate

double[3]

Translation part of the matrix.

[0.0, 0.0, 0.0]

rotate

double[3]

Rotation part of the matrix expressed as euler angles.

[0.0, 0.0, 0.0]

quaternion

double[4]

Rotation part of the matrix expressed as quaternion.

[0.0, 0.0, 0.0, 1.0]

scale

double[3]

Scale part of the matrix.

[1.0, 1.0, 1.0]