Blender V4.3
rna_animation.cc File Reference
#include <cstdlib>
#include "DNA_action_types.h"
#include "DNA_anim_types.h"
#include "DNA_scene_types.h"
#include "BLI_listbase_wrapper.hh"
#include "BLI_utildefines.h"
#include "BLT_translation.hh"
#include "MEM_guardedalloc.h"
#include "BKE_nla.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "RNA_enum_types.hh"
#include "rna_internal.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "ED_keyframing.hh"
#include "ANIM_action.hh"

Go to the source code of this file.

Macros

#define KEYINGSET_IDNAME_DOC
 

Functions

static void rna_def_common_keying_flags (StructRNA *srna, short reg)
 
static void rna_def_keyingset_info (BlenderRNA *brna)
 
static void rna_def_keyingset_path (BlenderRNA *brna)
 
static void rna_def_keyingset_paths (BlenderRNA *brna, PropertyRNA *cprop)
 
static void rna_def_keyingset (BlenderRNA *brna)
 
static void rna_api_animdata_nla_tracks (BlenderRNA *brna, PropertyRNA *cprop)
 
static void rna_api_animdata_drivers (BlenderRNA *brna, PropertyRNA *cprop)
 
void rna_def_animdata_common (StructRNA *srna)
 
static void rna_def_animdata (BlenderRNA *brna)
 
void RNA_def_animation (BlenderRNA *brna)
 

Variables

const EnumPropertyItem rna_enum_keyingset_path_grouping_items []
 
const EnumPropertyItem rna_enum_keying_flag_items []
 
const EnumPropertyItem rna_enum_keying_flag_api_items []
 

Macro Definition Documentation

◆ KEYINGSET_IDNAME_DOC

#define KEYINGSET_IDNAME_DOC
Value:
"If this is set, the Keying Set gets a custom ID, otherwise it takes " \
"the name of the class used to define the Keying Set (for example, " \
"if the class name is \"BUILTIN_KSI_location\", and bl_idname is not " \
"set by the script, then bl_idname = \"BUILTIN_KSI_location\")"

Definition at line 1132 of file rna_animation.cc.

Referenced by rna_def_keyingset(), and rna_def_keyingset_info().

Function Documentation

◆ rna_api_animdata_drivers()

◆ rna_api_animdata_nla_tracks()

◆ RNA_def_animation()

void RNA_def_animation ( BlenderRNA * brna)

◆ rna_def_animdata()

static void rna_def_animdata ( BlenderRNA * brna)
static

Definition at line 1570 of file rna_animation.cc.

References ADT_CURVES_ALWAYS_VISIBLE, ADT_NLA_EDIT_ON, ADT_NLA_EVAL_OFF, NA_EDITED, NC_ANIMATION, ND_ANIMCHAN, ND_NLA, ND_NLA_ACTCHANGE, PROP_ANIMATABLE, PROP_BOOLEAN, PROP_COLLECTION, PROP_EDITABLE, PROP_ENUM, PROP_FACTOR, PROP_FLOAT, PROP_HIDDEN, PROP_ID_REFCOUNT, PROP_INT, PROP_NO_DEG_UPDATE, PROP_NONE, PROP_POINTER, PROP_STRING, PROPOVERRIDE_IGNORE, PROPOVERRIDE_LIBRARY_INSERTION, PROPOVERRIDE_NO_PROP_NAME, PROPOVERRIDE_OVERRIDABLE_LIBRARY, RNA_api_animdata(), rna_api_animdata_drivers(), rna_api_animdata_nla_tracks(), RNA_def_property(), RNA_def_property_boolean_funcs(), RNA_def_property_boolean_negative_sdna(), RNA_def_property_boolean_sdna(), RNA_def_property_clear_flag(), RNA_def_property_collection_funcs(), RNA_def_property_collection_sdna(), RNA_def_property_editable_func(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_flag(), RNA_def_property_float_default(), RNA_def_property_float_sdna(), RNA_def_property_int_funcs(), RNA_def_property_int_sdna(), RNA_def_property_override_flag(), RNA_def_property_override_funcs(), RNA_def_property_pointer_funcs(), RNA_def_property_pointer_sdna(), RNA_def_property_range(), RNA_def_property_string_sdna(), RNA_def_property_struct_type(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_path_func(), RNA_def_struct_ui_icon(), RNA_def_struct_ui_text(), RNA_define_lib_overridable(), rna_enum_nla_mode_blend_items, and rna_enum_nla_mode_extend_items.

Referenced by RNA_def_animation().

◆ rna_def_animdata_common()

◆ rna_def_common_keying_flags()

◆ rna_def_keyingset()

◆ rna_def_keyingset_info()

◆ rna_def_keyingset_path()

◆ rna_def_keyingset_paths()

Variable Documentation

◆ rna_enum_keying_flag_api_items

const EnumPropertyItem rna_enum_keying_flag_api_items[]

Definition at line 72 of file rna_animation.cc.

Referenced by pyrna_struct_keyframe_parse().

◆ rna_enum_keying_flag_items

const EnumPropertyItem rna_enum_keying_flag_items[]
Initial value:
= {
"INSERTKEY_NEEDED",
0,
"Only Needed",
"Only insert keyframes where they're needed in the relevant F-Curves"},
"INSERTKEY_VISUAL",
0,
"Visual Keying",
"Insert keyframes based on 'visual transforms'"},
{0,
"INSERTKEY_XYZ_TO_RGB",
0,
"XYZ=RGB Colors (ignored)",
"This flag is no longer in use, and is here so that code that uses it doesn't break. The "
"XYZ=RGB coloring is determined by the animation preferences."},
{0, nullptr, 0, nullptr, nullptr},
}
@ INSERTKEY_MATRIX
@ INSERTKEY_NEEDED

Definition at line 51 of file rna_animation.cc.

Referenced by rna_def_keyingset_info().

◆ rna_enum_keyingset_path_grouping_items

const EnumPropertyItem rna_enum_keyingset_path_grouping_items[]
Initial value:
= {
{KSP_GROUP_NAMED, "NAMED", 0, "Named Group", ""},
{KSP_GROUP_NONE, "NONE", 0, "None", ""},
{KSP_GROUP_KSNAME, "KEYINGSET", 0, "Keying Set Name", ""},
{0, nullptr, 0, nullptr, nullptr},
}
@ KSP_GROUP_KSNAME
@ KSP_GROUP_NAMED
@ KSP_GROUP_NONE

Definition at line 40 of file rna_animation.cc.

Referenced by rna_def_keyingset_path(), and rna_def_keyingset_paths().