Blender V5.3
blender::ActionSlot Struct Reference

#include <DNA_action_types.h>

Inherited by blender::animrig::Slot.

Public Attributes

char identifier [258] = ""
int16_t idtype = 0
int32_t handle = 0
int8_t slot_flags = 0
uint8_t _pad1 [7] = {}
animrig::SlotRuntime * runtime = nullptr

Detailed Description

See also
#animrig::Slot

Definition at line 1249 of file DNA_action_types.h.

Member Data Documentation

◆ _pad1

uint8_t blender::ActionSlot::_pad1[7] = {}

Definition at line 1293 of file DNA_action_types.h.

◆ handle

int32_t blender::ActionSlot::handle = 0

Numeric identifier of this Slot within the Action.

This number allows reorganization of the #bAction::slot_array without invalidating references. Also these remain valid when copy-on-evaluate copies are made.

Unlike identifier above, this cannot be set by the user and never changes after initial assignment, and thus serves as a "forever" identifier of the slot.

Only valid within the Action that owns this Slot.

NOTE: keep this type in sync with slot_handle_t in BKE_action.hh.

See also
#animrig::Action::slot_for_handle()

Definition at line 1289 of file DNA_action_types.h.

Referenced by blender::bke::action_blend_write(), blender::action_layered_keyframes_loop(), blender::action_preview_render_prepare(), blender::actkeys_list_element_to_keylist(), blender::ANIM_animfilter_action_slot(), blender::animfilter_fcurves_span(), blender::animrig::assign_action_ensure_slot_for_keying(), blender::BKE_action_flip_with_pose(), blender::build_channel_keylist(), blender::animrig::StripKeyframeData::channelbag_for_slot(), blender::animrig::StripKeyframeData::channelbag_for_slot(), blender::animrig::StripKeyframeData::channelbag_for_slot_add(), blender::animrig::StripKeyframeData::channelbag_for_slot_ensure(), blender::click_select_channel_action_slot(), blender::animrig::clone_slot(), blender::animrig::duplicate_slot(), blender::animrig::tests::AnimationEvaluationTest::evaluate_single_property(), blender::animrig::first_slot_handle(), blender::animrig::generic_assign_action_slot(), blender::mouse_action_keys(), blender::animrig::move_slot(), blender::animrig::pose_apply_action(), blender::pose_backup_create(), blender::poselib_keytag_pose(), blender::nodes::refresh_node_sockets_animation_inout(), blender::animrig::Action::slot_active_set(), blender::animrig::Action::slot_for_handle(), blender::animrig::Action::slot_identifier_propagate(), blender::animrig::Action::slot_remove(), blender::animrig::nla::tests::TEST_F(), blender::animrig::nla::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::editor::animation::tests::TEST_F(), blender::editor::animation::tests::TEST_F(), and blender::ed::animrig::update_pose_action_from_scene().

◆ identifier

char blender::ActionSlot::identifier[258] = ""

The string identifier of this Slot within the Action.

The first two characters are the two-letter code corresponding to idtype below (e.g. 'OB', 'ME', 'LA'), and the remaining characters store slot's display name. Since the combination of the idtype and display name are always unique within an action, this string identifier is as well.

Typically this matches the ID name this slot was created for, including the two letters indicating the ID type.

See also
#AnimData::slot_name

Definition at line 1263 of file DNA_action_types.h.

Referenced by blender::BKE_nla_tweakmode_enter(), blender::animrig::generic_assign_action_slot(), blender::animrig::Slot::identifier_ensure_prefix(), blender::animrig::Slot::identifier_prefix(), blender::animrig::Slot::identifier_without_prefix(), blender::animrig::StripKeyframeData::keyframe_insert(), blender::long_id_names_process_action_slots_identifiers(), blender::ed::animation::pastebuf_find_matching_copybuf_item(), blender::replace_action_new_exec(), blender::rna_def_action_slot(), blender::rna_def_action_slots(), blender::separate_slots_exec(), blender::animrig::Action::slot_add(), blender::animrig::Action::slot_add_for_id_type(), blender::animrig::Action::slot_display_name_define(), blender::animrig::Action::slot_find_by_identifier(), blender::animrig::Action::slot_identifier_define(), blender::animrig::slot_identifier_ensure_unique(), blender::animrig::Action::slot_identifier_propagate(), blender::animrig::nla::tests::TEST_F(), blender::animrig::nla::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), and blender::ed::outliner::TreeElementActionSlot::TreeElementActionSlot().

◆ idtype

◆ runtime

◆ slot_flags


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