Blender V5.0
bActionGroup Struct Reference

#include <DNA_action_types.h>

Inherited by blender::animrig::ChannelGroup.

Public Attributes

struct bActionGroupnext
struct bActionGroupprev
ListBase channels
int fcurve_range_start
int fcurve_range_length
struct ActionChannelbagchannelbag
int flag
int customCol
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 716 of file DNA_action_types.h.

Member Data Documentation

◆ channelbag

◆ channels

◆ cs

ThemeWireColor bActionGroup::cs

◆ customCol

int bActionGroup::customCol

Index of custom color set to use when used for bones (0=default - used for all old files, -1=custom set).

Definition at line 756 of file DNA_action_types.h.

Referenced by action_group_colors_set(), action_group_colors_sync(), get_actiongroup_color(), and version_bonegroup_migrate_color().

◆ fcurve_range_length

◆ fcurve_range_start

◆ flag

◆ name

◆ next

struct bActionGroup* bActionGroup::next

◆ prev

struct bActionGroup * bActionGroup::prev

Definition at line 717 of file DNA_action_types.h.

Referenced by action_groups_add_channel(), and blender::bke::tests::TEST().


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