|
Blender V5.0
|
#include "BLI_utildefines.h"Go to the source code of this file.
Macros | |
| #define | MAX_DRIVER_TARGETS 8 |
| #define | DVAR_ALL_INVALID_FLAGS |
| #define | FCURVE_ACTIVE_KEYFRAME_NONE -1 |
| #define | SELECT 1 |
Functions | |
| ENUM_OPERATORS (eFCurve_Flags, FCURVE_TAGGED) | |
| ENUM_OPERATORS (eInsertKeyFlags, INSERTKEY_AVAILABLE) | |
| #define DVAR_ALL_INVALID_FLAGS |
All invalid dvar name flags.
Definition at line 251 of file DNA_anim_enums.h.
Referenced by driver_variable_name_validate().
| #define FCURVE_ACTIVE_KEYFRAME_NONE -1 |
When #active_keyframe_index is set to this, the FCurve does not have an active keyframe.
Definition at line 293 of file DNA_anim_enums.h.
Referenced by BKE_fcurve_active_keyframe_index(), BKE_fcurve_active_keyframe_set(), draw_fcurve_active_handle_vertices(), draw_fcurve_active_vertex(), get_active_fcurve_keyframe_edit(), mouse_graph_keys(), and blender::bke::tests::TEST().
| #define MAX_DRIVER_TARGETS 8 |
Definition at line 203 of file DNA_anim_enums.h.
Referenced by BKE_animsys_eval_driver().
| #define SELECT 1 |
Definition at line 579 of file DNA_anim_enums.h.
Driver flags.
Driver type.
Driver Target flags.
Driver Target options.
Driver Variable Types.*
F-Curve Modifier Settings.
Types of F-Curve modifier WARNING: order here is important!
NLA Strip Extrapolation Mode.
NLA Strip Settings.
| enum eAnimData_Flag |
| Enumerator | |
|---|---|
| ADT_NLA_SOLO_TRACK | Only evaluate a single track in the NLA. |
| ADT_NLA_EVAL_OFF | Don't use NLA |
| ADT_NLA_EDIT_ON | NLA is being 'tweaked' (i.e. in EditMode). |
| ADT_NLA_EDIT_NOMAP | Active Action for 'tweaking' does not have mapping applied for editing. |
| ADT_NLA_SKEYS_COLLAPSED | NLA-Strip F-Curves are expanded in UI. |
| ADT_NLA_EVAL_UPPER_TRACKS | |
| ADT_DRIVERS_COLLAPSED | Drivers expanded in UI. |
| ADT_UI_SELECTED | Don't execute drivers. AnimData block is selected in UI. |
| ADT_UI_ACTIVE | AnimData block is active in UI. |
| ADT_CURVES_NOT_VISIBLE | F-Curves from this AnimData block are not visible in the Graph Editor. |
| ADT_CURVES_ALWAYS_VISIBLE | F-Curves from this AnimData block are always visible. |
| ADT_UI_EXPANDED | Animation pointer to by this AnimData block is expanded in UI. This is stored on the AnimData so that each user of the Animation can have its own expansion/contraction state. |
Definition at line 543 of file DNA_anim_enums.h.
| enum eDriver_Flags |
Driver flags.
Definition at line 273 of file DNA_anim_enums.h.
| enum eDriver_Types |
Driver type.
Definition at line 259 of file DNA_anim_enums.h.
| Enumerator | |
|---|---|
| DTAR_CONTEXT_PROPERTY_ACTIVE_SCENE | |
| DTAR_CONTEXT_PROPERTY_ACTIVE_VIEW_LAYER | |
Definition at line 195 of file DNA_anim_enums.h.
| enum eDriverTarget_Flag |
Driver Target flags.
Definition at line 131 of file DNA_anim_enums.h.
Driver Target options.
| Enumerator | |
|---|---|
| DTAR_OPTION_USE_FALLBACK | Use the fallback value when the target is invalid (rna_path cannot be resolved). |
Definition at line 125 of file DNA_anim_enums.h.
| Enumerator | |
|---|---|
| DTAR_ROTMODE_AUTO | Automatic euler mode. |
| DTAR_ROTMODE_EULER_XYZ | Explicit euler rotation modes - must sync with BLI_math_rotation.h defines. |
| DTAR_ROTMODE_EULER_XZY | |
| DTAR_ROTMODE_EULER_YXZ | |
| DTAR_ROTMODE_EULER_YZX | |
| DTAR_ROTMODE_EULER_ZXY | |
| DTAR_ROTMODE_EULER_ZYX | |
| DTAR_ROTMODE_QUATERNION | |
| DTAR_ROTMODE_SWING_TWIST_X | Implements the very common Damped Track + child trick to decompose rotation into bending followed by twist around the remaining axis. |
| DTAR_ROTMODE_SWING_TWIST_Y | |
| DTAR_ROTMODE_SWING_TWIST_Z | |
| DTAR_ROTMODE_EULER_MIN | |
| DTAR_ROTMODE_EULER_MAX | |
Definition at line 169 of file DNA_anim_enums.h.
Definition at line 152 of file DNA_anim_enums.h.
| enum eDriverVar_Flags |
Definition at line 228 of file DNA_anim_enums.h.
| enum eDriverVar_Types |
Driver Variable Types.*
Definition at line 206 of file DNA_anim_enums.h.
| enum eFCurve_Coloring |
Definition at line 336 of file DNA_anim_enums.h.
| enum eFCurve_Extend |
| Enumerator | |
|---|---|
| FCURVE_EXTRAPOLATE_CONSTANT | Just extend min/max keyframe value. |
| FCURVE_EXTRAPOLATE_LINEAR | Just extend gradient of segment between first segment keyframes. |
Definition at line 328 of file DNA_anim_enums.h.
| enum eFCurve_Flags |
| Enumerator | |
|---|---|
| FCURVE_VISIBLE | Curve/keyframes are visible in editor |
| FCURVE_SELECTED | Curve is selected for editing. |
| FCURVE_ACTIVE | Curve is active one. |
| FCURVE_PROTECTED | Keyframes (beztriples) cannot be edited. |
| FCURVE_MUTED | FCurve will not be evaluated for the next round. |
| FCURVE_MOD_OFF | |
| FCURVE_DISABLED | skip evaluation, as RNA-path cannot be resolved (similar to muting, but cannot be set by user) |
| FCURVE_INT_VALUES | curve can only have whole-number values (integer types) |
| FCURVE_DISCRETE_VALUES | curve can only have certain discrete-number values (no interpolation at all, for enums/booleans) |
| FCURVE_TAGGED | temporary tag for editing |
Definition at line 296 of file DNA_anim_enums.h.
| enum eFCurve_Smoothing |
| Enumerator | |
|---|---|
| FCURVE_SMOOTH_NONE | legacy mode: auto handles only consider adjacent points |
| FCURVE_SMOOTH_CONT_ACCEL | maintain continuity of the acceleration |
Definition at line 348 of file DNA_anim_enums.h.
| enum eFMod_Cycling_Modes |
Definition at line 83 of file DNA_anim_enums.h.
| Enumerator | |
|---|---|
| FCM_GENERATOR_ADDITIVE | |
Definition at line 67 of file DNA_anim_enums.h.
| Enumerator | |
|---|---|
| FCM_GENERATOR_FN_SIN | |
| FCM_GENERATOR_FN_COS | |
| FCM_GENERATOR_FN_TAN | |
| FCM_GENERATOR_FN_SQRT | |
| FCM_GENERATOR_FN_LN | |
| FCM_GENERATOR_FN_SINC | |
Definition at line 73 of file DNA_anim_enums.h.
| Enumerator | |
|---|---|
| FCM_GENERATOR_POLYNOMIAL | |
| FCM_GENERATOR_POLYNOMIAL_FACTORISED | |
Definition at line 59 of file DNA_anim_enums.h.
| enum eFMod_Limit_Flags |
| Enumerator | |
|---|---|
| FCM_LIMIT_XMIN | |
| FCM_LIMIT_XMAX | |
| FCM_LIMIT_YMIN | |
| FCM_LIMIT_YMAX | |
Definition at line 95 of file DNA_anim_enums.h.
Definition at line 103 of file DNA_anim_enums.h.
| enum eFMod_Stepped_Flags |
| Enumerator | |
|---|---|
| FCM_STEPPED_NO_BEFORE | Don't affect frames before the start frame. |
| FCM_STEPPED_NO_AFTER | Don't affect frames after the end frame. |
Definition at line 115 of file DNA_anim_enums.h.
| enum eFModifier_Flags |
F-Curve Modifier Settings.
Definition at line 39 of file DNA_anim_enums.h.
| enum eFModifier_Types |
Types of F-Curve modifier WARNING: order here is important!
Definition at line 22 of file DNA_anim_enums.h.
| enum eInsertKeyFlags |
| Enumerator | |
|---|---|
| INSERTKEY_NOFLAGS | |
| INSERTKEY_NEEDED | Only insert keyframes where they're needed. |
| INSERTKEY_MATRIX | Insert "visual" keyframes where possible/needed. |
| INSERTKEY_FAST | Don't recalculate handles,etc. after adding key. |
| INSERTKEY_REPLACE | Don't re-allocate memory (or increase count, as array has already been set out). Only replace an existing keyframe (this overrides INSERTKEY_NEEDED). |
| INSERTKEY_NO_USERPREF | Ignore user-preferences (needed for predictable API use). |
| INSERTKEY_OVERWRITE_FULL | Allow to make a full copy of new key into existing one, if any, instead of 'reusing' existing handles. Used by copy/paste code. |
| INSERTKEY_CYCLE_AWARE | For cyclic FCurves, adjust key timing to preserve the cycle period and flow. |
| INSERTKEY_AVAILABLE | Don't create new F-Curves (implied by INSERTKEY_REPLACE). |
Definition at line 491 of file DNA_anim_enums.h.
| enum eKS_Settings |
| Enumerator | |
|---|---|
| KEYINGSET_ABSOLUTE | Keyingset cannot be removed (and doesn't need to be freed). Keyingset does not depend on context info (i.e. paths are absolute). |
Definition at line 482 of file DNA_anim_enums.h.
| enum eKSP_Grouping |
| Enumerator | |
|---|---|
| KSP_GROUP_NAMED | Path should be grouped using group name stored in path. |
| KSP_GROUP_NONE | Path should not be grouped at all. |
| KSP_GROUP_KSNAME | Path should be grouped using KeyingSet's name. |
Definition at line 525 of file DNA_anim_enums.h.
| enum eKSP_Settings |
| Enumerator | |
|---|---|
| KSP_FLAG_WHOLE_ARRAY | |
Definition at line 519 of file DNA_anim_enums.h.
| enum eNlaStrip_Blend_Mode |
| Enumerator | |
|---|---|
| NLASTRIP_MODE_REPLACE | |
| NLASTRIP_MODE_ADD | |
| NLASTRIP_MODE_SUBTRACT | |
| NLASTRIP_MODE_MULTIPLY | |
| NLASTRIP_MODE_COMBINE | |
Definition at line 367 of file DNA_anim_enums.h.
NLA Strip Extrapolation Mode.
| Enumerator | |
|---|---|
| NLASTRIP_EXTEND_HOLD | |
| NLASTRIP_EXTEND_HOLD_FORWARD | |
| NLASTRIP_EXTEND_NOTHING | |
Definition at line 376 of file DNA_anim_enums.h.
| enum eNlaStrip_Flag |
NLA Strip Settings.
| Enumerator | |
|---|---|
| NLASTRIP_FLAG_ACTIVE | NLA strip is the active one in the track (also indicates if strip is being tweaked) |
| NLASTRIP_FLAG_SELECT | |
| NLASTRIP_FLAG_TWEAKUSER | NLA strip uses the same action that the action being tweaked uses (not set for the tweaking one though). |
| NLASTRIP_FLAG_USR_INFLUENCE | strip influence is controlled by local F-Curve |
| NLASTRIP_FLAG_USR_TIME | |
| NLASTRIP_FLAG_USR_TIME_CYCLIC | |
| NLASTRIP_FLAG_SYNC_LENGTH | NLA strip length is synced to the length of the referenced action |
| NLASTRIP_FLAG_AUTO_BLENDS | NLA strip blend-in/out values are set automatically based on overlaps |
| NLASTRIP_FLAG_REVERSE | NLA strip is played back in reverse order |
| NLASTRIP_FLAG_MUTED | NLA strip is muted (i.e. doesn't contribute in any way) |
| NLASTRIP_FLAG_INVALID_LOCATION | NLA Strip is played back in 'ping-pong' style When transforming strips, this flag is set when the strip is placed in an invalid location such as overlapping another strip or moved to a locked track. In such cases, the strip's location must be corrected after the transform operator is done. |
| NLASTRIP_FLAG_NO_TIME_MAP | NLA strip should ignore frame range and hold settings, and evaluate at global time. |
| NLASTRIP_FLAG_TEMP_META | NLA-Strip is really just a temporary meta used to facilitate easier transform code |
| NLASTRIP_FLAG_EDIT_TOUCHED | |
Definition at line 387 of file DNA_anim_enums.h.
| enum eNlaStrip_Type |
| Enumerator | |
|---|---|
| NLASTRIP_TYPE_CLIP | |
| NLASTRIP_TYPE_TRANSITION | |
| NLASTRIP_TYPE_META | |
| NLASTRIP_TYPE_SOUND | |
Definition at line 437 of file DNA_anim_enums.h.
| enum eNlaTrack_Flag |
| Enumerator | |
|---|---|
| NLATRACK_ACTIVE | track is the one that settings can be modified on, also indicates if track is being 'tweaked' |
| NLATRACK_SELECTED | track is selected in UI for relevant editing operations |
| NLATRACK_MUTED | track is not evaluated |
| NLATRACK_SOLO | track is the only one evaluated (must be used in conjunction with adt->flag) |
| NLATRACK_PROTECTED | track's settings (and strips) cannot be edited (to guard against unwanted changes) |
| NLATRACK_DISABLED | track is not allowed to execute, usually as result of tweaking being enabled (internal flag) |
| NLATRACK_TEMPORARILY_ADDED | Marks tracks automatically added for space while dragging strips vertically. Internal flag that's only set during transform operator. |
| NLATRACK_OVERRIDELIBRARY_LOCAL | This NLA track is added to an override ID, which means it is fully editable. Irrelevant in case the owner ID is not an override. |
Definition at line 452 of file DNA_anim_enums.h.
| ENUM_OPERATORS | ( | eFCurve_Flags | , |
| FCURVE_TAGGED | ) |
References FCURVE_TAGGED.
| ENUM_OPERATORS | ( | eInsertKeyFlags | , |
| INSERTKEY_AVAILABLE | ) |
References INSERTKEY_AVAILABLE.