|
Blender V4.3
|
Go to the source code of this file.
Functions | |
| PyObject * | pyrna_driver_get_variable_value (const AnimationEvalContext *anim_eval_context, ChannelDriver *driver, DriverVar *dvar, DriverTarget *dtar) |
| PyObject * | pyrna_driver_self_from_anim_rna (PathResolvedRNA *anim_rna) |
| bool | pyrna_driver_is_equal_anim_rna (const PathResolvedRNA *anim_rna, const PyObject *py_anim_rna) |
| PyObject * pyrna_driver_get_variable_value | ( | const AnimationEvalContext * | anim_eval_context, |
| ChannelDriver * | driver, | ||
| DriverVar * | dvar, | ||
| DriverTarget * | dtar ) |
A version of driver_get_variable_value which returns a #PyObject.
Definition at line 27 of file bpy_rna_driver.cc.
References driver_get_variable_property(), DRIVER_VAR_PROPERTY_FALLBACK, DRIVER_VAR_PROPERTY_INVALID, DRIVER_VAR_PROPERTY_INVALID_INDEX, DRIVER_VAR_PROPERTY_SUCCESS, DriverTarget::fallback_value, PROP_ENUM, ptr, pyrna_array_index(), pyrna_prop_to_py(), pyrna_struct_CreatePyObject(), RNA_property_enum_get(), and RNA_property_type().
Referenced by BPY_driver_exec().
| bool pyrna_driver_is_equal_anim_rna | ( | const PathResolvedRNA * | anim_rna, |
| const PyObject * | py_anim_rna ) |
Definition at line 77 of file bpy_rna_driver.cc.
References BPy_StructRNA_Check, PointerRNA::data, PointerRNA::owner_id, PathResolvedRNA::ptr, and PointerRNA::type.
Referenced by bpy_pydriver_namespace_update_self().
| PyObject * pyrna_driver_self_from_anim_rna | ( | PathResolvedRNA * | anim_rna | ) |
Definition at line 72 of file bpy_rna_driver.cc.
References PathResolvedRNA::ptr, and pyrna_struct_CreatePyObject().
Referenced by bpy_pydriver_namespace_update_self().