formZ SDK | 5.0 API Reference | Project | Modeling | Animation
Description
Adds a new controller of the given controller type to an animation node's controller list.
cntl_id should be one of the controller types (for example, FZ_ANIM_CNTL_SINE).
Plugin Prototype
fzrt_error_td fz_anim_node_add_cntl(
fzrt_int | windex, |
anim_node, | |
cntl_id, | |
add_default_key, | |
cntl_node ) |
Parameters
windex [Input]
project window index
anim_node [Input]
animation node (must be a track node)
cntl_id [Input]
controller type of new controller
add_default_key [Input]
whether or not to add a key with the default value
cntl_node [Result]
new controller node
Returns
Error codes
Availability
6.1.0.0
Example Files
util_anim_cntl.fsl
util_anim_eval_value.fsl
Function Set
Defined in