|
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...
|
|
Functions for working with animation.
Set an animation curve on a parameter of an exposed node.
- Parameters
-
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The exposed node id. |
[in] | parm_id | The id of an exposed parameter within the node. |
[in] | parm_index | The index of the parameter, if it is for example a 3 tuple |
[in] | curve_keyframes_array | An array of HAPI_Keyframe structs that describes the keys on this curve. |
[in] | keyframe_count | The number of keys on the curve. |
A specialized convenience function to set the T,R,S values on an exposed node.
- Parameters
-
[in] | session | The session of Houdini you are interacting with. See HAPI_Sessions for more on sessions. Pass NULL to just use the default in-process session. |
[in] | node_id | The exposed node id. |
[in] | trans_comp | A 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_array | An array of HAPI_Keyframe structs that describes the keys on this curve. |
[in] | keyframe_count | The number of keys on the curve. |