Houdini Engine 7.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Animation

Functions

HAPI_DECL HAPI_SetAnimCurve (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_ParmId parm_id, int parm_index, const HAPI_Keyframe *curve_keyframes_array, int keyframe_count)
 Set an animation curve on a parameter of an exposed node. More...
 
HAPI_DECL HAPI_SetTransformAnimCurve (const HAPI_Session *session, HAPI_NodeId node_id, HAPI_TransformComponent trans_comp, const HAPI_Keyframe *curve_keyframes_array, int keyframe_count)
 A specialized convenience function to set the T,R,S values on an exposed node. More...
 

Detailed Description

Functions for working with animation.

Function Documentation

HAPI_DECL HAPI_SetAnimCurve ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_ParmId  parm_id,
int  parm_index,
const HAPI_Keyframe curve_keyframes_array,
int  keyframe_count 
)

Set an animation curve on a parameter of an exposed node.

Parameters
[in]sessionThe session of Houdini you are interacting with. See Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe exposed node id.
[in]parm_idThe id of an exposed parameter within the node.
[in]parm_indexThe index of the parameter, if it is for example a 3 tuple
[in]curve_keyframes_arrayAn array of HAPI_Keyframe structs that describes the keys on this curve.
[in]keyframe_countThe number of keys on the curve.
HAPI_DECL HAPI_SetTransformAnimCurve ( const HAPI_Session session,
HAPI_NodeId  node_id,
HAPI_TransformComponent  trans_comp,
const HAPI_Keyframe curve_keyframes_array,
int  keyframe_count 
)

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

Parameters
[in]sessionThe session of Houdini you are interacting with. See Sessions for more on sessions. Pass NULL to just use the default in-process session.
[in]node_idThe exposed node id.
[in]trans_compA value of HAPI_TransformComponent that identifies the particular component of the transform to attach the curve to, for example HAPI_TRANSFORM_TX.
[in]curve_keyframes_arrayAn array of HAPI_Keyframe structs that describes the keys on this curve.
[in]keyframe_countThe number of keys on the curve.