Blender V4.3
rna_nla.cc File Reference
#include <cstdlib>
#include "DNA_action_types.h"
#include "DNA_anim_types.h"
#include "DNA_scene_types.h"
#include "BLI_utildefines.h"
#include "MEM_guardedalloc.h"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "RNA_enum_types.hh"
#include "rna_action_tools.hh"
#include "rna_internal.hh"
#include "WM_api.hh"
#include "WM_types.hh"

Go to the source code of this file.

Functions

static void rna_def_strip_fcurves (BlenderRNA *brna, PropertyRNA *cprop)
 
static void rna_def_nlastrip (BlenderRNA *brna)
 
static void rna_api_nlatrack_strips (BlenderRNA *brna, PropertyRNA *cprop)
 
static void rna_def_nlatrack (BlenderRNA *brna)
 
void RNA_def_nla (BlenderRNA *brna)
 

Variables

const EnumPropertyItem rna_enum_nla_mode_blend_items []
 
const EnumPropertyItem rna_enum_nla_mode_extend_items []
 

Function Documentation

◆ rna_api_nlatrack_strips()

◆ RNA_def_nla()

void RNA_def_nla ( BlenderRNA * brna)

Definition at line 1206 of file rna_nla.cc.

References rna_def_nlastrip(), and rna_def_nlatrack().

◆ rna_def_nlastrip()

static void rna_def_nlastrip ( BlenderRNA * brna)
static

Definition at line 719 of file rna_nla.cc.

References NA_EDITED, NC_ANIMATION, ND_NLA, ND_NLA_ACTCHANGE, NLASTRIP_FLAG_ACTIVE, NLASTRIP_FLAG_AUTO_BLENDS, NLASTRIP_FLAG_MUTED, NLASTRIP_FLAG_REVERSE, NLASTRIP_FLAG_SELECT, NLASTRIP_FLAG_SYNC_LENGTH, NLASTRIP_FLAG_USR_INFLUENCE, NLASTRIP_FLAG_USR_TIME, NLASTRIP_FLAG_USR_TIME_CYCLIC, NLASTRIP_TYPE_CLIP, NLASTRIP_TYPE_META, NLASTRIP_TYPE_SOUND, NLASTRIP_TYPE_TRANSITION, PROP_ANIMATABLE, PROP_BOOLEAN, PROP_COLLECTION, PROP_EDITABLE, PROP_ENUM, PROP_FACTOR, PROP_FLOAT, PROP_ID_REFCOUNT, PROP_INT, PROP_NONE, PROP_POINTER, PROP_STRING, PROP_TIME, PROPOVERRIDE_IGNORE, PROPOVERRIDE_NO_COMPARISON, PROPOVERRIDE_OVERRIDABLE_LIBRARY, RNA_def_property(), RNA_def_property_boolean_funcs(), 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_funcs(), RNA_def_property_float_sdna(), RNA_def_property_int_funcs(), RNA_def_property_int_sdna(), RNA_def_property_override_flag(), RNA_def_property_pointer_funcs(), RNA_def_property_pointer_sdna(), RNA_def_property_range(), RNA_def_property_string_funcs(), RNA_def_property_string_sdna(), RNA_def_property_struct_type(), RNA_def_property_ui_icon(), RNA_def_property_ui_text(), RNA_def_property_update(), rna_def_strip_fcurves(), RNA_def_struct(), RNA_def_struct_name_property(), 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_nla().

◆ rna_def_nlatrack()

◆ rna_def_strip_fcurves()

Variable Documentation

◆ rna_enum_nla_mode_blend_items

const EnumPropertyItem rna_enum_nla_mode_blend_items[]
Initial value:
= {
"REPLACE",
0,
"Replace",
"The strip values replace the accumulated results by amount specified by influence"},
"COMBINE",
0,
"Combine",
"The strip values are combined with accumulated results by appropriately using addition, "
"multiplication, or quaternion math, based on channel type"},
"ADD",
0,
"Add",
"Weighted result of strip is added to the accumulated results"},
"SUBTRACT",
0,
"Subtract",
"Weighted result of strip is removed from the accumulated results"},
"MULTIPLY",
0,
"Multiply",
"Weighted result of strip is multiplied with the accumulated results"},
{0, nullptr, 0, nullptr, nullptr},
}
@ NLASTRIP_MODE_REPLACE
@ NLASTRIP_MODE_ADD
@ NLASTRIP_MODE_SUBTRACT
@ NLASTRIP_MODE_COMBINE
@ NLASTRIP_MODE_MULTIPLY
#define RNA_ENUM_ITEM_SEPR
Definition RNA_types.hh:528

Definition at line 36 of file rna_nla.cc.

Referenced by rna_def_animdata(), and rna_def_nlastrip().

◆ rna_enum_nla_mode_extend_items

const EnumPropertyItem rna_enum_nla_mode_extend_items[]
Initial value:
= {
{NLASTRIP_EXTEND_NOTHING, "NOTHING", 0, "Nothing", "Strip has no influence past its extents"},
"HOLD",
0,
"Hold",
"Hold the first frame if no previous strips in track, and always hold last frame"},
{NLASTRIP_EXTEND_HOLD_FORWARD, "HOLD_FORWARD", 0, "Hold Forward", "Only hold last frame"},
{0, nullptr, 0, nullptr, nullptr},
}
@ NLASTRIP_EXTEND_HOLD_FORWARD
@ NLASTRIP_EXTEND_NOTHING
@ NLASTRIP_EXTEND_HOLD

Definition at line 67 of file rna_nla.cc.

Referenced by rna_def_animdata(), and rna_def_nlastrip().