Blender V4.5
blender::animrig::ChannelGroup Class Reference

#include <ANIM_action.hh>

Inherits bActionGroup.

Public Member Functions

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

Additional Inherited Members

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

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 1409 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.

Definition at line 2503 of file animrig/intern/action.cc.

References bActionGroup::channelbag.

Referenced by animsys_evaluate_action_group(), fcurves(), and fcurves().


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