Blender V5.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)
ListBaseT< TreeElement > 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
template<typename ElementType, typename... Args>
TreeElement * add_element (const TreeElementAddParams &params, Args &&...args)
TreeElement * add_id_element (const TreeElementAddParams &params, ID *id)
Static Public Member Functions inherited from blender::ed::outliner::AbstractTreeDisplay
static std::unique_ptr< AbstractTreeDisplay > create_from_display_mode (int mode, SpaceOutliner &space_outliner)
TreeElement * add_element_impl (const TreeElementAddParams &params, short type, ID *owner_id, const void *persistent_ptr, bool allow_null_identity, FunctionRef< std::unique_ptr< AbstractTreeElement >(TreeElement &)> construct_fn)
Protected Attributes inherited from blender::ed::outliner::AbstractTreeDisplay
SpaceOutliner & space_outliner_

Detailed Description

Tree-Display for the View Layer display mode.

Definition at line 281 of file tree_display.hh.

Constructor & Destructor Documentation

◆ TreeDisplayViewLayer()

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

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 67 of file tree_display_view_layer.cc.


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