Iliad
Painting Plugin for UnrealEngine4 by Praxinos
Public Member Functions | List of all members
FOdysseyLayerStackTree Class Reference
Inheritance diagram for FOdysseyLayerStackTree:

Public Member Functions

 FOdysseyLayerStackTree (FOdysseyLayerStackModel &iLayerStack)
 
void Empty ()
 
FOdysseyLayerStackModelGetLayerStack ()
 
const TArray< TSharedRef< IOdysseyBaseLayerNode > > & GetRootNodes () const
 
int Update ()
 

Detailed Description

The tree structure that handle the content of the layerStack

Constructor & Destructor Documentation

◆ FOdysseyLayerStackTree()

FOdysseyLayerStackTree::FOdysseyLayerStackTree ( FOdysseyLayerStackModel iLayerStack)

Member Function Documentation

◆ Empty()

void FOdysseyLayerStackTree::Empty ( )

Empties the entire tree

◆ GetLayerStack()

FOdysseyLayerStackModel & FOdysseyLayerStackTree::GetLayerStack ( )

Gets the parent layerStack of this tree

◆ GetRootNodes()

const TArray< TSharedRef< IOdysseyBaseLayerNode > > & FOdysseyLayerStackTree::GetRootNodes ( ) const
Returns
The root nodes of the tree

◆ Update()

int FOdysseyLayerStackTree::Update ( )

Updates the tree, returns the current index selected in the layer stack