Houdini 20.5 hapi

hapi.convertTransform function

Converts the transform described by a hapi.TransformEuler

Usage

convertTransform(session: hapi.Session, transform_in: hapi.TransformEuler, rst_order: hapi.rstOrder, rot_order: hapi.xyzOrder) → hapi.TransformEuler

Converts the transform described by a hapi.TransformEuler struct into a different transform and rotation order.

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_in

The transform to be converted.

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.

hapi