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

# fz_anim_colr_opts_enum

Description

Identifiers for color track options.

enum fz_anim_colr_opts_enum {

FZ_ANIM_COLR_OPTS_TYPE,

FZ_ANIM_COLR_OPTS_SINGLE,

FZ_ANIM_COLR_OPTS_NUM_COLORS,

FZ_ANIM_COLR_OPTS_COLOR_I,

FZ_ANIM_COLR_OPTS_COLOR_CUR_TIME };

Members

FZ_ANIM_COLR_OPTS_TYPE

This determines how the color is defined, or rather, in which color space.

Type: fz_anim_colr_type_enum

Default Value: FZ_ANIM_COLR_TYPE_RGB

FZ_ANIM_COLR_OPTS_SINGLE

If TRUE, the track's color is determined by an interpolated color using a list of colors. If FALSE, the track's color is determined by 3 children tracks, each representing a color component. e.g. FZ_TRAC_TYPE_COLR_RED.

Type: fzrt_boolean

Default Value: TRUE

FZ_ANIM_COLR_OPTS_NUM_COLORS

Number of colors in the list of colors if FZ_ANIM_COLR_OPTS_SINGLE is TRUE.

Type: fzrt_int

Default Value: 0

FZ_ANIM_COLR_OPTS_COLOR_I

The ith color in the list of colors if FZ_ANIM_COLR_OPTS_SINGLE is TRUE. The index of this color is specified by a parameter to and .

Type: fz_rgb_float_td

FZ_ANIM_COLR_OPTS_COLOR_CUR_TIME

The color of the track in red, green, blue components at the current time.

Type: fz_rgb_float_td

Availability

6.1.0.0

See Also

,

Defined in

fz_anim_api.h