Blender V5.3
blender::ed::outliner::TreeElementIDAction Class Referencefinal

#include <tree_element_id_action.hh>

Inherits blender::ed::outliner::TreeElementID.

Public Member Functions

 TreeElementIDAction (TreeElement &legacy_te, bAction &action)
void expand (SpaceOutliner &space_outliner) const override
Public Member Functions inherited from blender::ed::outliner::TreeElementID
 TreeElementID (TreeElement &legacy_te, ID &id)
bool expand_poll (const SpaceOutliner &) const override
ID & get_ID ()
Public Member Functions inherited from blender::ed::outliner::AbstractTreeElement
virtual ~AbstractTreeElement ()=default
TreeElement & get_legacy_element ()
virtual StringRefNull get_warning () const
virtual std::optional< BIFIconID > get_icon () const
void print_path ()

Additional Inherited Members

Static Public Member Functions inherited from blender::ed::outliner::TreeElementID
static std::unique_ptr< TreeElementID > create_from_id (TreeElement &legacy_te, ID &id)
Static Public Member Functions inherited from blender::ed::outliner::AbstractTreeElement
static void uncollapse_by_default (TreeElement *legacy_te)
Protected Member Functions inherited from blender::ed::outliner::TreeElementID
void expand_animation_data (AnimData *) const
Protected Member Functions inherited from blender::ed::outliner::AbstractTreeElement
 AbstractTreeElement (TreeElement &legacy_te)
template<typename ElementType, typename... Args>
TreeElement * add_element (const TreeElementAddParams &params, Args &&...args) const
TreeElement * add_id_element (const TreeElementAddParams &params, ID *id) const
Protected Attributes inherited from blender::ed::outliner::TreeElementID
ID & id_
Protected Attributes inherited from blender::ed::outliner::AbstractTreeElement
TreeElement & legacy_te_
AbstractTreeDisplay * display_

Detailed Description

Definition at line 23 of file tree_element_id_action.hh.

Constructor & Destructor Documentation

◆ TreeElementIDAction()

Member Function Documentation

◆ expand()

void blender::ed::outliner::TreeElementIDAction::expand ( SpaceOutliner & space_outliner) const
overridevirtual

When displaying this tree element in a "flat" tree view (so each Action is only listed once, like in the Blender File outliner mode), this expands to show all the Action's slots Otherwise, when using a data-hierarchical tree view (like Scene or View Layer), only the assigned slot is shown.

Reimplemented from blender::ed::outliner::TreeElementID.

Definition at line 62 of file tree_element_id_action.cc.

References blender::ed::outliner::AbstractTreeElement::add_element(), blender::animrig::Action::slot_for_handle(), and blender::animrig::Action::slots().


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