Blender V4.3
blender::ed::outliner::TreeDisplayViewLayer Class Referencefinal

Tree-Display for the View Layer display mode. More...

#include <tree_display.hh>

Inherits blender::ed::outliner::AbstractTreeDisplay.

Tree-Display for a View Layer.

 TreeDisplayViewLayer (SpaceOutliner &space_outliner)
 
ListBase build_tree (const TreeSourceData &source_data) override
 
bool supports_mode_column () const override
 

Additional Inherited Members

- Public Member Functions inherited from blender::ed::outliner::AbstractTreeDisplay
 AbstractTreeDisplay (SpaceOutliner &space_outliner)
 
virtual ~AbstractTreeDisplay ()=default
 
virtual bool is_lazy_built () const
 
TreeElementadd_element (ListBase *lb, ID *owner_id, void *create_data, TreeElement *parent, short type, short index, const bool expand=true)
 
- Static Public Member Functions inherited from blender::ed::outliner::AbstractTreeDisplay
static std::unique_ptr< AbstractTreeDisplaycreate_from_display_mode (int mode, SpaceOutliner &space_outliner)
 
static TreeElementadd_element (SpaceOutliner *space_outliner, ListBase *lb, ID *owner_id, void *create_data, TreeElement *parent, short type, short index, const bool expand=true)
 
- Protected Attributes inherited from blender::ed::outliner::AbstractTreeDisplay
SpaceOutlinerspace_outliner_
 

Detailed Description

Tree-Display for the View Layer display mode.

Definition at line 146 of file tree_display.hh.

Constructor & Destructor Documentation

◆ TreeDisplayViewLayer()

blender::ed::outliner::TreeDisplayViewLayer::TreeDisplayViewLayer ( SpaceOutliner & space_outliner)

Definition at line 52 of file tree_display_view_layer.cc.

Member Function Documentation

◆ build_tree()

◆ supports_mode_column()

bool blender::ed::outliner::TreeDisplayViewLayer::supports_mode_column ( ) const
overridevirtual

Define if the display mode should be allowed to show a mode column on the left. This column adds an icon to indicate which objects are in the current mode (edit mode, pose mode, etc.) and allows adding other objects to the mode by clicking the icon.

Returns false by default.

Reimplemented from blender::ed::outliner::AbstractTreeDisplay.

Definition at line 57 of file tree_display_view_layer.cc.


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