|
Blender V4.5
|
#include <DNA_action_types.h>
Inherited by blender::animrig::Slot.
Public Attributes | |
| char | identifier [66] |
| int16_t | idtype |
| int32_t | handle |
| int8_t | slot_flags |
| uint8_t | _pad1 [7] |
| ActionSlotRuntimeHandle * | runtime |
Definition at line 1175 of file DNA_action_types.h.
| uint8_t ActionSlot::_pad1[7] |
Definition at line 1219 of file DNA_action_types.h.
| 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.
Definition at line 1215 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::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 ActionSlot::identifier[66] |
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 1189 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().
| int16_t ActionSlot::idtype |
Type of ID-block that this slot is intended for.
If 0, will be set to whatever ID is first assigned.
Definition at line 1196 of file DNA_action_types.h.
Referenced by acf_action_slot_idtype_icon(), blender::bke::action_blend_write(), blender::animrig::versioning::convert_legacy_animato_action(), 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::bke::read_slots(), blender::animrig::Action::slot_add_for_id(), blender::animrig::Action::slot_add_for_id_type(), 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().
| ActionSlotRuntimeHandle* ActionSlot::runtime |
Runtime data. Set to nullptr when writing to disk.
Definition at line 1222 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(), blender::bke::write_slots(), and blender::animrig::Slot::~Slot().
| int8_t ActionSlot::slot_flags |
Definition at line 1218 of file DNA_action_types.h.
Referenced by acf_action_slot_setting_ptr(), blender::animrig::Slot::flags(), blender::animrig::Slot::is_active(), blender::animrig::Slot::is_expanded(), blender::animrig::Slot::is_selected(), make_new_animlistelem(), blender::animrig::Slot::set_active(), blender::animrig::Slot::set_expanded(), blender::animrig::Slot::set_selected(), and blender::animrig::tests::TEST_F().