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

fz_anim_extrap_parm_enum

Description

Identifiers for parameters of the an extrapolation curve. Extrapolation defines what happens to a controller's values before and after the defined domain of the controller function. Some controllers do not have a start or end and therefore these extrapolation curves aren't applicable.

enum fz_anim_extrap_parm_enum {

FZ_ANIM_EXTRAP_PARM_TYPE,

FZ_ANIM_EXTRAP_PARM_HAS_BOUND,

FZ_ANIM_EXTRAP_PARM_BY_TIME,

FZ_ANIM_EXTRAP_PARM_TIME_VAL,

FZ_ANIM_EXTRAP_PARM_OFFSET,

FZ_ANIM_EXTRAP_PARM_OFFSET_VAL,

FZ_ANIM_EXTRAP_PARM_MATCH };

Members

FZ_ANIM_EXTRAP_PARM_TYPE

Extrapolation curve type.

Type: fz_anim_extrap_type_enum

Default Value: FZ_ANIM_EXTRAP_TYPE_CONSTANT

FZ_ANIM_EXTRAP_PARM_HAS_BOUND

Whether or not the extrapolation options have a bound as to where/when they no longer apply.

Type: fzrt_boolean

Default Value: FALSE

FZ_ANIM_EXTRAP_PARM_BY_TIME

If FZ_ANIM_EXTRAP_PARM_HAS_BOUND is TRUE, this parameter determines whether or not the bound is determined by a fixed time value (TRUE) or by a relative number of repetition (FALSE) of all the values in the controller's domain.

Type: fzrt_boolean

Default Value: FALSE

FZ_ANIM_EXTRAP_PARM_TIME_VAL

Depending on FZ_ANIM_EXTRAP_PARM_BY_TIME, this value specifies the fixed time value (TRUE) or number of repetitions (FALSE) of the bound.

Type: double

Default Value: 0.0

FZ_ANIM_EXTRAP_PARM_OFFSET

Whether or not to offset the extrapolation curve some value amount each time.

Type: fzrt_boolean

Default Value: FALSE

FZ_ANIM_EXTRAP_PARM_OFFSET_VAL

The value to offset extrapolation curve if FZ_ANIM_EXTRAP_PARM_OFFSET is TRUE

Type: double

Default Value: 0.0

FZ_ANIM_EXTRAP_PARM_MATCH

Whether or not to match the values of the of the extrapolation curve and the values of the defined controller function at the start/end times of the domain. This is applicable only if the extrapolation type is FZ_ANIM_EXTRAP_TYPE_REP_NORMAL.

Type: fzrt_boolean

Default Value: FALSE

Availability

6.1.0.0

Defined in

fz_anim_api.h