Blender V5.3
blender::DriverVar Struct Reference

#include <DNA_anim_types.h>

Public Attributes

struct DriverVar * next = nullptr
struct DriverVar * prev = nullptr
char name [64] = ""
DriverTarget targets [8]
char num_targets = 0
eDriverVar_Types type = {}
eDriverVar_Flags flag = {}
float curval = 0

Detailed Description

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 271 of file DNA_anim_types.h.

Member Data Documentation

◆ curval

float blender::DriverVar::curval = 0

◆ flag

◆ name

char blender::DriverVar::name[64] = ""

◆ next

◆ num_targets

char blender::DriverVar::num_targets = 0

Number of targets actually used by this variable.

Definition at line 284 of file DNA_anim_types.h.

Referenced by blender::BKE_animdata_build_driver_target_map(), blender::BKE_fcurve_blend_read_data(), and blender::driver_change_variable_type().

◆ prev

struct DriverVar * blender::DriverVar::prev = nullptr

◆ targets

◆ type


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