Blender V5.3
blender::animrig::ChannelGroup Class Reference

#include <ANIM_action.hh>

Inherits blender::bActionGroup.

Public Member Functions

bool is_legacy () const
Span< FCurve * > fcurves ()
Span< const FCurve * > fcurves () const

Additional Inherited Members

Public Attributes inherited from blender::bActionGroup
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

A group of channels within a Channelbag.

This does not own the fcurves–the Channelbag does. This just groups fcurves for organizational purposes, e.g. for use in the channel list in the animation editors.

Definition at line 1368 of file ANIM_action.hh.

Member Function Documentation

◆ fcurves() [1/2]

Span< FCurve * > blender::animrig::ChannelGroup::fcurves ( )

◆ fcurves() [2/2]

Span< const FCurve * > blender::animrig::ChannelGroup::fcurves ( ) const

◆ is_legacy()

bool blender::animrig::ChannelGroup::is_legacy ( ) const

Determine whether this channel group is from a legacy action or a layered action.

TODO: this should be removed, as it's currently only used by code that is no longer relevant and should also be removed due to legacy actions no longer being supported at runtime.

Returns
True if it's from a legacy action, false if it's from a layered action.

References fcurves().


The documentation for this class was generated from the following files: