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

# fz_anim_trac_colr_set_parm

Description

Sets the parameter indicated by the parameter index of the given animation color track. A color track can represent its color in two ways, by a single list of colors, or by 3 separate children tracks of each color component. The ith_color parameter is useful only if the color track is set for a single list of colors; this identifies which color in the list is used, otherwise it is ignored.

Plugin Prototype

fzrt_error_td fz_anim_trac_colr_set_parm(

fzrt_int | windex,
fz_anim_node_ptr | colr_trac,
fzrt_int | ith_color,
fz_anim_colr_opts_enum | parm_id,
fz_type_td * | data )

Parameters

windex [Input]

project window index

colr_trac [Input]

color track node

ith_color [Input]

the index of the color to access in the colors list (if applicable)

parm_id [Input]

the index of the parameter to set

data [Input]

parameter data

Returns

Error codes

Availability

6.1.0.0

Example Files

util_anim_test_color.fsl

Function Set

fz_anim_fset

Defined in

fz_anim_api.h