Blender V5.0
ActionSlot Struct Reference

#include <DNA_action_types.h>

Inherited by blender::animrig::Slot.

Public Attributes

char identifier [258]
int16_t idtype
int32_t handle
int8_t slot_flags
uint8_t _pad1 [7]
ActionSlotRuntimeHandleruntime

Detailed Description

See also
blender::animrig::Slot

Definition at line 1187 of file DNA_action_types.h.

Member Data Documentation

◆ _pad1

uint8_t ActionSlot::_pad1[7]

Definition at line 1231 of file DNA_action_types.h.

◆ handle

int32_t ActionSlot::handle

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
blender::animrig::Action::slot_for_handle()

Definition at line 1227 of file DNA_action_types.h.

Referenced by blender::bke::action_blend_write(), action_layered_keyframes_loop(), action_preview_render_prepare(), actkeys_list_element_to_keylist(), ANIM_animfilter_action_slot(), animfilter_fcurves_span(), blender::animrig::assign_action_ensure_slot_for_keying(), BKE_action_flip_with_pose(), 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(), click_select_channel_action_slot(), blender::animrig::clone_slot(), blender::animrig::duplicate_slot(), blender::animrig::legacy::fcurves_first_slot(), blender::animrig::first_slot_handle(), blender::animrig::generic_assign_action_slot(), mouse_action_keys(), blender::animrig::move_slot(), blender::animrig::pose_apply_action(), pose_backup_create(), poselib_keytag_pose(), 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::editor::animation::tests::TEST_F(), blender::editor::animation::tests::TEST_F(), and blender::ed::animrig::update_pose_action_from_scene().

◆ identifier

char 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 1201 of file DNA_action_types.h.

Referenced by 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(), long_id_names_process_action_slots_identifiers(), blender::ed::animation::pastebuf_find_matching_copybuf_item(), rna_def_action_slot(), rna_def_action_slots(), separate_slots_exec(), blender::animrig::slot_identifier_ensure_unique(), 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: