Blender V5.3
blender::bActionGroup Struct Reference

#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 = {}

Detailed Description

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.

Member Data Documentation

◆ channelbag

◆ channels

ListBaseT<FCurve> blender::bActionGroup::channels = {nullptr, nullptr}

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().

◆ cs

ThemeWireColor blender::bActionGroup::cs = {}

◆ customCol

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().

◆ fcurve_range_length

◆ fcurve_range_start

◆ flag

◆ name

◆ next

struct bActionGroup* blender::bActionGroup::next = nullptr

Definition at line 1002 of file DNA_action_types.h.

Referenced by blender::bke::action_copy_data().

◆ prev

struct bActionGroup * blender::bActionGroup::prev = nullptr

Definition at line 1002 of file DNA_action_types.h.


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