Blender  V3.3
Public Attributes | List of all members
ChannelDriver Struct Reference

#include <DNA_anim_types.h>

Public Attributes

ListBase variables
 
char expression [256]
 
voidexpr_comp
 
struct ExprPyLike_Parsedexpr_simple
 
float curval
 
float influence
 
int type
 
int flag
 

Detailed Description

Channel Driver (i.e. Drivers / Expressions) (driver)

Channel Drivers are part of the dependency system, and are executed in addition to normal user-defined animation. They take the animation result of some channel(s), and use that (optionally combined with its own F-Curve for modification of results) to define the value of some setting semi-procedurally.

Drivers are stored as part of F-Curve data, so that the F-Curve's RNA-path settings (for storing what setting the driver will affect). The order in which they are stored defines the order that they're evaluated in. This order is set by the Depsgraph's sorting stuff.

Definition at line 486 of file DNA_anim_types.h.

Member Data Documentation

◆ curval

float ChannelDriver::curval

◆ expr_comp

void* ChannelDriver::expr_comp

PyObject - compiled expression, don't save this.

Definition at line 496 of file DNA_anim_types.h.

Referenced by BKE_fcurve_blend_read_data(), BPY_driver_exec(), fcurve_copy_driver(), and fcurve_free_driver().

◆ expr_simple

struct ExprPyLike_Parsed* ChannelDriver::expr_simple

◆ expression

char ChannelDriver::expression[256]

◆ flag

int ChannelDriver::flag

◆ influence

float ChannelDriver::influence

Influence of driver on result.

Definition at line 505 of file DNA_anim_types.h.

◆ type

int ChannelDriver::type

◆ variables

ListBase ChannelDriver::variables

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