Houdini 20.5 hapi

hapi.convertTransformQuatToMatrix function

Converts hapi.Transform into a 4×4 transform matrix.

Usage

convertTransformQuatToMatrix(session: hapi.Session, transform: hapi.Transform) → list of float

Converts hapi.Transform into a 4×4 transform matrix.

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.

transform

The hapi.Transform you wish to convert.

Returns matrix as a list of float.

hapi