Houdini 20.5 hapi

hapi.setTransformAnimCurve function

A specialized convenience function to set the T,R,S values

Usage

setTransformAnimCurve(session: hapi.Session, node_id: int, trans_comp: hapi.transformComponent, curve_keyframes_array: list of hapi.Keyframe, keyframe_count: int) → bool

A specialized convenience function to set the T,R,S values on an exposed node.

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.

node_id

The exposed node id.

trans_comp

A value of hapi.transformComponent that identifies the particular component of the transform to attach the curve to, for example hapi.transformComponent.Tx.

curve_keyframes_array

An array of hapi.Keyframe structs that describes the keys on this curve.

keyframe_count

The number of keys on the curve.

hapi