Blender V5.3
BKE_fcurve_driver.h File Reference
#include "DNA_listBase.h"

Go to the source code of this file.

Classes

struct  blender::DriverTargetContext

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define DRIVER_TARGETS_LOOPER_BEGIN(dvar)
#define DRIVER_TARGETS_USED_LOOPER_BEGIN(dvar)
#define DRIVER_TARGETS_LOOPER_END

Enumerations

enum  blender::eDriverVariablePropertyResult { blender::DRIVER_VAR_PROPERTY_SUCCESS , blender::DRIVER_VAR_PROPERTY_FALLBACK , blender::DRIVER_VAR_PROPERTY_INVALID , blender::DRIVER_VAR_PROPERTY_INVALID_INDEX }

Functions

struct ChannelDriver * blender::fcurve_copy_driver (const struct ChannelDriver *driver)
float blender::driver_get_variable_value (const struct AnimationEvalContext *anim_eval_context, struct ChannelDriver *driver, struct DriverVar *dvar)
eDriverVariablePropertyResult blender::driver_get_variable_property (const struct AnimationEvalContext *anim_eval_context, struct ChannelDriver *driver, struct DriverVar *dvar, struct DriverTarget *dtar, struct PointerRNA *r_ptr, struct PropertyRNA **r_prop, int *r_index)
float blender::evaluate_driver (struct PathResolvedRNA *anim_rna, struct ChannelDriver *driver, struct ChannelDriver *driver_orig, const struct AnimationEvalContext *anim_eval_context)
Driver API
void blender::fcurve_free_driver (struct FCurve *fcu)
void blender::driver_variables_copy (ListBaseT< DriverVar > *dst_vars, const ListBaseT< DriverVar > *src_vars)
void blender::driver_free_variable (ListBaseT< DriverVar > *variables, struct DriverVar *dvar)
void blender::driver_free_variable_ex (struct ChannelDriver *driver, struct DriverVar *dvar)
void blender::driver_change_variable_type (struct DriverVar *dvar, eDriverVar_Types type)
void blender::driver_variable_name_validate (struct DriverVar *dvar)
void blender::driver_variable_unique_name (struct DriverVar *dvar)
struct DriverVar * blender::driver_add_new_variable (struct ChannelDriver *driver)
Driver Target Utilities
bool blender::driver_get_target_property (const DriverTargetContext *driver_target_context, struct DriverVar *dvar, struct DriverTarget *dtar, struct PointerRNA *r_prop)
Driver Variable Utilities
void blender::BKE_driver_target_matrix_to_rot_channels (float mat[4][4], int auto_order, int rotation_mode, int channel, bool angles, float r_buf[4])
Driver Expression Evaluation
bool blender::BKE_driver_has_simple_expression (struct ChannelDriver *driver)
bool blender::BKE_driver_expression_depends_on_time (struct ChannelDriver *driver)
void blender::BKE_driver_invalidate_expression (struct ChannelDriver *driver, bool expr_changed, bool varname_changed)

Macro Definition Documentation

◆ DRIVER_TARGETS_LOOPER_BEGIN

#define DRIVER_TARGETS_LOOPER_BEGIN ( dvar)

◆ DRIVER_TARGETS_LOOPER_END

◆ DRIVER_TARGETS_USED_LOOPER_BEGIN