Blender V5.0
FModifier Struct Reference

#include <DNA_anim_types.h>

Public Attributes

struct FModifiernext
struct FModifierprev
struct FCurvecurve
void * data
char name [64]
short type
short flag
short ui_expand_flag
char _pad [6]
float influence
float sfra
float efra
float blendin
float blendout

Detailed Description

F-Curve Modifiers (fcm)

These alter the way F-Curves behave, by altering the value that is returned when evaluating the curve's data at some time (t).

Definition at line 36 of file DNA_anim_types.h.

Member Data Documentation

◆ _pad

char FModifier::_pad[6]

Definition at line 56 of file DNA_anim_types.h.

◆ blendin

float FModifier::blendin

Number of frames from sfra before modifier takes full influence.

Definition at line 66 of file DNA_anim_types.h.

Referenced by eval_fmodifier_influence().

◆ blendout

float FModifier::blendout

Number of frames from efra before modifier fades out.

Definition at line 68 of file DNA_anim_types.h.

Referenced by eval_fmodifier_influence().

◆ curve

struct FCurve* FModifier::curve

Containing curve, only used for updates to CYCLES.

Definition at line 40 of file DNA_anim_types.h.

Referenced by add_fmodifier(), ANIM_fmodifiers_paste_from_buf(), copy_fmodifier(), copy_fmodifiers(), and remove_fmodifier().

◆ data

◆ efra

float FModifier::efra

End frame of restricted frame-range.

Definition at line 64 of file DNA_anim_types.h.

Referenced by eval_fmodifier_influence(), and evaluate_value_fmodifiers().

◆ flag

◆ influence

float FModifier::influence

The amount that the modifier should influence the value.

Definition at line 59 of file DNA_anim_types.h.

Referenced by add_fmodifier(), and eval_fmodifier_influence().

◆ name

char FModifier::name[64]

User-defined description for the modifier.

Definition at line 45 of file DNA_anim_types.h.

Referenced by BKE_fmodifier_name_set(), and ui_context_fcurve_modifiers_via_fcurve().

◆ next

◆ prev

◆ sfra

float FModifier::sfra

Start frame of restricted frame-range.

Definition at line 62 of file DNA_anim_types.h.

Referenced by eval_fmodifier_influence(), and evaluate_value_fmodifiers().

◆ type

◆ ui_expand_flag

short FModifier::ui_expand_flag

Expansion state for the modifier panel and its sub-panels, stored as a bit-field in depth-first order. (Maximum of sizeof(short) total panels).

Definition at line 54 of file DNA_anim_types.h.

Referenced by add_fmodifier(), get_fmodifier_expand_flag(), and set_fmodifier_expand_flag().


The documentation for this struct was generated from the following file: