Usage ¶
convertMatrixToEuler(session
: hapi.Session, matrix
: list
of float
, rst_order
: hapi.rstOrder, rot_order
: hapi.xyzOrder) → hapi.TransformEuler
Converts a 4×4 matrix into its TRS form.
session
The session of Houdini you are interacting with. See hapi.Session for more on sessions. Pass None to just use the default in-process session.
matrix
A 4×4 matrix expressed in a 16 element float array.
rst_order
The desired transform order of the output.
rot_order
The desired rotation order of the output.
Returns transform_out as a hapi.TransformEuler.