|
Blender V5.3
|
#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 |
Definition at line 1249 of file DNA_action_types.h.
| uint8_t blender::ActionSlot::_pad1[7] = {} |
Definition at line 1293 of file DNA_action_types.h.
| 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.
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().
| 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.
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().
| int16_t blender::ActionSlot::idtype = 0 |
Type of ID-block that this slot is intended for.
If 0, will be set to whatever ID is first assigned.
Definition at line 1270 of file DNA_action_types.h.
Referenced by blender::acf_action_slot_idtype_icon(), blender::bke::action_blend_write(), blender::animrig::versioning::convert_legacy_animato_action(), blender::getname_anim_fcurve_for_slot(), blender::animrig::Slot::has_idtype(), blender::animrig::Slot::identifier_ensure_prefix(), blender::animrig::Slot::idtype_string(), blender::animrig::Slot::is_suitable_for(), blender::ui::rna_collection_search_update_fn(), blender::animrig::Action::slot_add_for_id(), blender::animrig::Action::slot_add_for_id_type(), blender::animrig::Action::slot_idtype_define(), blender::animrig::Action::slot_setup_for_id(), blender::ui::template_search_add_button_name(), 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(), and blender::animrig::tests::TEST_F().
| animrig::SlotRuntime* blender::ActionSlot::runtime = nullptr |
Runtime data. Set to nullptr when writing to disk.
Definition at line 1296 of file DNA_action_types.h.
Referenced by blender::animrig::Slot::blend_read_post(), blender::animrig::clone_slot(), blender::animrig::Slot::runtime_users(), blender::animrig::Slot::Slot(), blender::animrig::Slot::Slot(), blender::animrig::tests::TEST_F(), blender::animrig::Slot::users(), blender::animrig::Slot::users_add(), blender::animrig::Slot::users_remove(), and blender::animrig::Slot::~Slot().
| int8_t blender::ActionSlot::slot_flags = 0 |
Definition at line 1292 of file DNA_action_types.h.
Referenced by blender::acf_action_slot_setting_ptr(), blender::animrig::Slot::flags(), blender::animrig::Slot::is_active(), blender::animrig::Slot::is_expanded(), blender::animrig::Slot::is_selected(), blender::make_new_animlistelem(), blender::animrig::Slot::set_active(), blender::animrig::Slot::set_expanded(), blender::animrig::Slot::set_selected(), and blender::animrig::tests::TEST_F().