|
Blender V5.3
|
#include <DNA_action_types.h>
Inherited by blender::animrig::ChannelGroup.
Public Attributes | |
| struct bActionGroup * | next = nullptr |
| struct bActionGroup * | prev = nullptr |
| ListBaseT< FCurve > | channels = {nullptr, nullptr} |
| int | fcurve_range_start = 0 |
| int | fcurve_range_length = 0 |
| struct ActionChannelbag * | channelbag = nullptr |
| eActionGroup_Flag | flag = {} |
| int | customCol = 0 |
| char | name [64] = "" |
| ThemeWireColor | cs = {} |
Action-Channel Group (agrp)
These are stored as a list per-Action, and are only used to group that Action's channels in an Animation Editor.
Even though all FCurves live in a big list per Action, each group they are in also holds references to the achans within that list which belong to it. Care must be taken to ensure that action-groups never end up being the sole 'owner' of a channel.
This is also exploited for bone-groups. Bone-Groups are stored per bPose, and are used primarily to color bones in the 3d-view. There are other benefits too, but those are mostly related to Action-Groups.
Note that these two uses each have their own RNA 'ActionGroup' and 'BoneGroup'.
Definition at line 1001 of file DNA_action_types.h.
| struct ActionChannelbag* blender::bActionGroup::channelbag = nullptr |
For layered actions: the Channelbag this group belongs to.
This is needed in the keyframe drawing code, etc., to give direct access to the fcurves in this group.
Definition at line 1033 of file DNA_action_types.h.
Referenced by blender::action_group_to_keylist(), blender::agrp_keyframes_loop(), blender::animchannels_delete_containers(), blender::animchannels_ungroup_exec(), blender::animfilter_act_group(), blender::animrig::Channelbag::channel_group_create(), blender::animrig::Channelbag::Channelbag(), blender::animrig::versioning::convert_legacy_animato_action(), blender::animrig::ChannelGroup::fcurves(), blender::animrig::ChannelGroup::fcurves(), blender::bke::read_channelbag(), blender::rearrange_layered_action_channel_groups(), and blender::rearrange_layered_action_fcurves().
List of channels in this group for legacy actions.
NOTE: this must not be touched by standard listbase functions which would clear links to other channels.
Definition at line 1010 of file DNA_action_types.h.
Referenced by blender::bke::action_blend_read_data(), blender::bke::action_copy_data(), blender::animrig::versioning::action_groups_reconstruct(), blender::click_select_channel_group(), blender::do_version_bbone_scale_fcurve_fix(), and blender::bke::read_channelbag().
| ThemeWireColor blender::bActionGroup::cs = {} |
Color set to use when customCol == -1.
Definition at line 1046 of file DNA_action_types.h.
Referenced by blender::action_group_colors_set(), blender::action_group_colors_sync(), blender::get_actiongroup_color(), and blender::version_bonegroup_migrate_color().
| int blender::bActionGroup::customCol = 0 |
Index of custom color set to use when used for bones (0=default - used for all old files, -1=custom set).
Definition at line 1041 of file DNA_action_types.h.
Referenced by blender::action_group_colors_set(), blender::action_group_colors_sync(), blender::get_actiongroup_color(), and blender::version_bonegroup_migrate_color().
| int blender::bActionGroup::fcurve_range_length = 0 |
Definition at line 1025 of file DNA_action_types.h.
Referenced by blender::action_group_to_keylist(), blender::agrp_keyframes_loop(), blender::ANIM_animfilter_action_slot(), blender::animchannels_delete_containers(), blender::animrig::Channelbag::channel_group_create(), blender::animrig::Channelbag::channel_group_move_to_index(), blender::animrig::Channelbag::channel_group_remove(), blender::animrig::Channelbag::fcurve_assign_to_channel_group(), blender::animrig::Channelbag::fcurve_create(), blender::animrig::Channelbag::fcurve_create_many(), blender::animrig::Channelbag::fcurve_detach_by_index(), blender::animrig::Channelbag::fcurve_ungroup(), blender::animrig::ChannelGroup::fcurves(), blender::animrig::ChannelGroup::fcurves(), blender::rearrange_layered_action_fcurves(), 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::animrig::tests::TEST_F().
| int blender::bActionGroup::fcurve_range_start = 0 |
Span of channels in this group for layered actions.
This specifies that span as a range of items in a Channelbag's fcurve array.
Note that empty groups (fcurve_range_length == 0) are allowed, and they still have a position in the fcurves array, as specified by fcurve_range_start. You can imagine these cases as a zero-width range that sits at the border between the element at fcurve_range_start and the element just before it.
Definition at line 1024 of file DNA_action_types.h.
Referenced by blender::action_group_to_keylist(), blender::agrp_keyframes_loop(), blender::ANIM_animfilter_action_slot(), blender::animchannels_delete_containers(), blender::animrig::Channelbag::channel_group_create(), blender::animrig::Channelbag::channel_group_move_to_index(), blender::animrig::Channelbag::channel_group_remove(), blender::animrig::Channelbag::fcurve_assign_to_channel_group(), blender::animrig::Channelbag::fcurve_create(), blender::animrig::Channelbag::fcurve_create_many(), blender::animrig::ChannelGroup::fcurves(), blender::animrig::ChannelGroup::fcurves(), blender::rearrange_layered_action_fcurves(), 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::animrig::tests::TEST_F().
| eActionGroup_Flag blender::bActionGroup::flag = {} |
Settings for this action-group.
Definition at line 1036 of file DNA_action_types.h.
Referenced by blender::acf_group_setting_ptr(), blender::anim_channels_select_set(), blender::ANIM_is_active_channel(), blender::ANIM_set_active_channel(), blender::animchan_sync_group(), blender::animfilter_act_group(), blender::animsys_evaluate_action_group(), blender::BKE_fcurve_is_protected(), blender::box_select_anim_channels(), blender::animrig::Channelbag::channel_group_create(), blender::click_select_channel_group(), blender::draw_fcurve(), blender::draw_fcurve_handles_check(), blender::ED_add_action_group_channel(), blender::ED_add_fcurve_channel(), blender::animrig::is_fcurve_evaluatable(), blender::is_fcurve_evaluatable(), blender::make_new_animlistelem(), blender::mouse_action_keys(), blender::rearrange_animchannel_add_to_islands(), blender::select_pchan_for_action_group(), and blender::skip_fcurve_selected_data().
| char blender::bActionGroup::name[64] = "" |
Name of the group.
Definition at line 1043 of file DNA_action_types.h.
Referenced by blender::acf_group_name(), blender::action_copy_fcurves_by_basepath(), blender::animrig::action_fcurve_move(), blender::ANIM_OT_channels_group(), blender::animchan_sync_group(), blender::animrig::autokeyframe_property(), blender::BKE_pose_add_group(), blender::animrig::Channelbag::channel_group_create(), blender::animrig::channelbag_fcurves_move(), blender::click_select_channel_group(), blender::copy_animedit_keys(), blender::fcurves_path_rename_fix(), blender::insert_fcurve_key(), blender::insert_graph_keys(), blender::rna_def_channelbag_fcurves(), blender::select_pchan_for_action_group(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), and blender::version_bonegroups_to_bonecollections().
| struct bActionGroup* blender::bActionGroup::next = nullptr |
Definition at line 1002 of file DNA_action_types.h.
Referenced by blender::bke::action_copy_data().
| struct bActionGroup * blender::bActionGroup::prev = nullptr |
Definition at line 1002 of file DNA_action_types.h.