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

#include <tree_element_layer_collection.hh>

Inherits blender::ed::outliner::AbstractTreeElement.

Public Member Functions

 TreeElementLayerCollection (TreeElement &legacy_te, LayerCollection &lc)
Public Member Functions inherited from blender::ed::outliner::AbstractTreeElement
virtual ~AbstractTreeElement ()=default
virtual bool expand_poll (const SpaceOutliner &) const
TreeElement & get_legacy_element ()
virtual StringRefNull get_warning () const
virtual std::optional< BIFIconID > get_icon () const
void print_path ()

Static Public Member Functions

static ID * owner_id (LayerCollection &lc)
Static Public Member Functions inherited from blender::ed::outliner::AbstractTreeElement
static void uncollapse_by_default (TreeElement *legacy_te)

Static Public Attributes

static constexpr eTreeStoreElemType element_type = TSE_LAYER_COLLECTION

Additional Inherited Members

Protected Member Functions inherited from blender::ed::outliner::AbstractTreeElement
 AbstractTreeElement (TreeElement &legacy_te)
virtual void expand (SpaceOutliner &) const
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::AbstractTreeElement
TreeElement & legacy_te_
AbstractTreeDisplay * display_

Detailed Description

Definition at line 21 of file tree_element_layer_collection.hh.

Constructor & Destructor Documentation

◆ TreeElementLayerCollection()

Member Function Documentation

◆ owner_id()

ID * blender::ed::outliner::TreeElementLayerCollection::owner_id ( LayerCollection & lc)
static

The ID identifying this element in the tree-store, see #AbstractTreeDisplay::add_element().

Definition at line 28 of file tree_element_layer_collection.cc.

References blender::LayerCollection::collection, and blender::Collection::id.

Member Data Documentation

◆ element_type

eTreeStoreElemType blender::ed::outliner::TreeElementLayerCollection::element_type = TSE_LAYER_COLLECTION
staticconstexpr

Definition at line 25 of file tree_element_layer_collection.hh.


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