|
Blender V4.3
|
#include <DNA_anim_types.h>
Public Attributes | |
| ID * | id |
| char * | rna_path |
| char | pchan_name [64] |
| short | transChan |
| char | rotation_mode |
| char | _pad [5] |
| short | flag |
| short | options |
| int | idtype |
| int | context_property |
| float | fallback_value |
Driver Target (dtar)
Defines how to access a dependency needed for a driver variable.
Definition at line 296 of file DNA_anim_types.h.
| char DriverTarget::_pad[5] |
Definition at line 313 of file DNA_anim_types.h.
| int DriverTarget::context_property |
Definition at line 328 of file DNA_anim_types.h.
Referenced by driver_get_target_context_property().
| float DriverTarget::fallback_value |
Definition at line 331 of file DNA_anim_types.h.
Referenced by dtar_get_prop_val(), and pyrna_driver_get_variable_value().
| short DriverTarget::flag |
Flags for the validity of the target (NOTE: these get reset every time the types change).
Definition at line 319 of file DNA_anim_types.h.
Referenced by BKE_animsys_eval_driver(), driver_get_variable_property(), dtar_get_prop_val(), dtar_try_use_fallback(), dvar_eval_transChan(), graph_panel_driverVar__contextProp(), graph_panel_driverVar__locDiff(), graph_panel_driverVar__rotDiff(), graph_panel_driverVar__singleProp(), graph_panel_driverVar__transChan(), and idriver_to_cdriver().
| ID* DriverTarget::id |
ID-block which owns the target, no user count.
Definition at line 298 of file DNA_anim_types.h.
Referenced by add_driver_with_target(), driver_get_target_property(), dvar_eval_locDiff(), dvar_eval_rotDiff(), dvar_eval_transChan(), graph_panel_driverVar__locDiff(), graph_panel_driverVar__rotDiff(), graph_panel_driverVar__singleProp(), graph_panel_driverVar__transChan(), and idriver_to_cdriver().
| int DriverTarget::idtype |
Type of ID-block that this target can use.
Definition at line 323 of file DNA_anim_types.h.
Referenced by add_driver_with_target(), ANIM_copy_as_driver(), and idriver_to_cdriver().
| short DriverTarget::options |
Single-bit user-visible toggles (not reset on type change) from eDriverTarget_Options.
Definition at line 321 of file DNA_anim_types.h.
Referenced by dtar_try_use_fallback(), and graph_panel_driverVar_fallback().
| char DriverTarget::pchan_name[64] |
Name of the pose-bone to use (for vars where DTAR_FLAG_STRUCT_REF is used) - MAX_ID_NAME - 2.
Definition at line 307 of file DNA_anim_types.h.
Referenced by add_driver_with_target(), dvar_eval_rotDiff(), dvar_eval_transChan(), and idriver_to_cdriver().
| char* DriverTarget::rna_path |
RNA path defining the setting to use (for DVAR_TYPE_SINGLE_PROP).
Definition at line 301 of file DNA_anim_types.h.
Referenced by add_driver_with_target(), driver_get_variable_property(), and dtar_get_prop_val().
| char DriverTarget::rotation_mode |
Rotation channel calculation type.
Definition at line 312 of file DNA_anim_types.h.
Referenced by dvar_eval_transChan().
| short DriverTarget::transChan |
Transform channel index (for DVAR_TYPE_TRANSFORM_CHAN).
Definition at line 309 of file DNA_anim_types.h.
Referenced by add_driver_with_target(), dvar_eval_transChan(), graph_panel_driverVar__transChan(), icu_to_fcurves(), and idriver_to_cdriver().