formZ SDK | 5.0 API Reference | Project | Modeling | Animation

fz_anim_node_add_tracs

Description

Adds a set of tracks to an animation node with keyframe values at the current time. This captures the state of all the tracks that do not already exist that are currently being added. This is usually used for situations in which you want to capture for the first time a set of tracks at the current time.

To get a complete list of track types supported by the animation node anim_node, see the fz_anim_node_get_trac_list function.

Other ways of setting keyframes include: fz_anim_node_add_trac, , .

Plugin Prototype

fzrt_error_td fz_anim_node_add_tracs(

fzrt_int

windex,

fz_anim_node_ptr

anim_node,

fz_anim_add_type_enum

add_type )

Parameters

windex [Input]

project window index

anim_node [Input]

animation node

add_type [Input]

track type of new track

Returns

Error codes

Availability

6.1.0.0

Example Files

util_anim_capture.fsl
util_anim_test_node_set.fsl

Function Set

fz_anim_fset


Defined in

fz_anim_api.h