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

# fz_anim_node_add_path_trac

Description

Adds a new path track to an animation entity's tracks. The path options can be set up beforehand if the defaults are not adequate.

Plugin Prototype

fzrt_error_td fz_anim_node_add_path_trac(

fzrt_int | windex,
fz_anim_node_ptr | anim_node,
fz_objt_ptr | objt,
fz_anim_path_opts_ptr | path_opts,
fz_anim_node_ptr * | trac_node )

Parameters

windex [Input]

project window index

anim_node [Input]

animated entity to animate along path

objt [Input]

Object to use for the path. Depending on the object, a different path type will be created, and different options apply. A smooth spline can use the align option, but facetted, and point object paths will ignore alignment.

path_opts [Input, Optional]

path options

trac_node [Result, Optional]

new path track node

Returns

Error codes

Availability

6.1.0.0

Example Files

util_anim_animate_enty.fsl
util_anim_test_path_opts.fsl

Function Set

fz_anim_fset

Defined in

fz_anim_api.h