|
Blender V4.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 423 of file DNA_anim_types.h.
| float DriverVar::curval |
Result of previous evaluation.
Definition at line 443 of file DNA_anim_types.h.
Referenced by BKE_animsys_eval_driver(), BPY_driver_exec(), and driver_get_variable_value().
| short DriverVar::flag |
Validation tags, etc. (eDriverVar_Flags).
Definition at line 441 of file DNA_anim_types.h.
Referenced by BKE_animsys_eval_driver(), driver_dvar_invalid_name_query_cb(), and driver_variable_name_validate().
| 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 430 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 424 of file DNA_anim_types.h.
Referenced by ANIM_driver_vars_copybuf_free(), ANIM_driver_vars_paste(), BKE_animsys_eval_driver(), BPY_driver_exec(), and fcurve_free_driver().
| char DriverVar::num_targets |
Number of targets actually used by this variable.
Definition at line 436 of file DNA_anim_types.h.
Referenced by driver_change_variable_type().
| struct DriverVar * DriverVar::prev |
Definition at line 424 of file DNA_anim_types.h.
Referenced by ANIM_driver_vars_paste().
| DriverTarget DriverVar::targets[8] |
MAX_DRIVER_TARGETS, target slots.
Definition at line 433 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_contextProp(), dvar_eval_locDiff(), dvar_eval_rotDiff(), dvar_eval_singleProp(), dvar_eval_transChan(), graph_panel_driverVar__contextProp(), 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 438 of file DNA_anim_types.h.
Referenced by BPY_driver_exec(), driver_change_variable_type(), driver_get_target_property(), and driver_get_variable_value().