Blender
V3.3
|
#include <DNA_anim_types.h>
Public Attributes | |
struct DriverVar * | next |
struct DriverVar * | prev |
char | name [64] |
DriverTarget | targets [8] |
char | num_targets |
char | type |
short | flag |
float | curval |
Driver Variable (dvar)
A 'variable' for use as an input for the driver evaluation. Defines a way of accessing some channel to use, that can be referred to in the expression as a variable, thus simplifying expressions and also Depsgraph building.
Definition at line 400 of file DNA_anim_types.h.
float DriverVar::curval |
Result of previous evaluation.
Definition at line 420 of file DNA_anim_types.h.
Referenced by BKE_animsys_eval_driver(), BPY_driver_exec(), driver_get_variable_value(), and graph_draw_driver_settings_panel().
short DriverVar::flag |
Validation tags, etc. (eDriverVar_Flags).
Definition at line 418 of file DNA_anim_types.h.
Referenced by BKE_animsys_eval_driver(), driver_dvar_invalid_name_query_cb(), driver_variable_name_validate(), and graph_draw_driver_settings_panel().
char DriverVar::name[64] |
Name of the variable to use in py-expression (must be valid python identifier) - MAX_ID_NAME - 2
.
Definition at line 407 of file DNA_anim_types.h.
Referenced by ANIM_copy_as_driver(), BPY_driver_exec(), driver_add_new_variable(), driver_variable_name_validate(), and driver_variable_unique_name().
struct DriverVar* DriverVar::next |
Definition at line 401 of file DNA_anim_types.h.
Referenced by ANIM_driver_vars_copybuf_free(), BKE_animdata_merge_copy(), BKE_animsys_eval_driver(), BPY_driver_exec(), drivers_path_rename_fix(), evaluate_driver_min_max(), evaluate_driver_sum(), fcurve_free_driver(), fcurve_has_errors(), graph_draw_driver_settings_panel(), and joined_armature_fix_animdata_cb().
char DriverVar::num_targets |
Number of targets actually used by this variable.
Definition at line 413 of file DNA_anim_types.h.
Referenced by driver_change_variable_type().
struct DriverVar * DriverVar::prev |
Definition at line 401 of file DNA_anim_types.h.
Referenced by evaluate_driver_min_max().
DriverTarget DriverVar::targets[8] |
MAX_DRIVER_TARGETS, target slots.
Definition at line 410 of file DNA_anim_types.h.
Referenced by add_driver_with_target(), ANIM_copy_as_driver(), BKE_animsys_eval_driver(), BPY_driver_exec(), dvar_eval_locDiff(), dvar_eval_rotDiff(), dvar_eval_singleProp(), dvar_eval_transChan(), graph_draw_driver_settings_panel(), graph_panel_driverVar__locDiff(), graph_panel_driverVar__rotDiff(), graph_panel_driverVar__singleProp(), graph_panel_driverVar__transChan(), icu_to_fcurves(), and idriver_to_cdriver().
char DriverVar::type |
Type of driver variable (eDriverVar_Types).
Definition at line 415 of file DNA_anim_types.h.
Referenced by BPY_driver_exec(), driver_change_variable_type(), driver_get_variable_value(), and graph_draw_driver_settings_panel().