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

# fz_anim_node_keyf_capture

Description

Captures an entity's current state by adding keyframes to its Bezier controllers, and optionally adding new tracks if necessary.
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, fz_anim_node_add_tracs, .

Plugin Prototype

fzrt_error_td fz_anim_node_keyf_capture(

fzrt_int | windex,
fz_anim_node_ptr | anim_node,
fz_anim_capture_opts_ptr | capture_opts )

Parameters

windex [Input]

project window index

anim_node [Input]

entity node

capture_opts [Input]

keyframe capture options

Returns

Error codes

Availability

6.1.0.0

Example Files

util_anim_capture.fsl

See Also

,, fz_anim_keyf_capture_opts_finit,, ,

Function Set

fz_anim_fset

Defined in

fz_anim_api.h