![]() |
Iliad
Painting Plugin for UnrealEngine4 by Praxinos
|
Public Member Functions | |
FOdysseyLayerStackModel (TSharedPtr< SOdysseyLayerStackView > iWidget, const TAttribute< FOdysseyLayerStack * > &iLayerStackData) | |
virtual | ~FOdysseyLayerStackModel () |
void | BuildAddLayerMenu (FMenuBuilder &iMenuBuilder) |
DECLARE_MULTICAST_DELEGATE (FOnUpdated) | |
TSharedPtr< FUICommandList > | GetCommandBindings () const |
const TSharedRef< FOdysseyLayerAddMenu > | GetLayerAddMenu () const |
FOdysseyLayerStack * | GetLayerStackData () |
TSharedRef< SOdysseyLayerStackView > | GetLayerStackView () const |
TSharedPtr< FOdysseyLayerStackTree > | GetNodeTree () const |
void | OnDeleteLayer (TSharedPtr< IOdysseyLayer > iLayerToDelete) |
void | OnDuplicateLayer (TSharedPtr< IOdysseyLayer > iLayerToDuplicate) |
void | OnFlattenLayer (TSharedPtr< IOdysseyLayer > iLayerToMergeDown) |
void | OnMergeLayerDown (TSharedPtr< IOdysseyLayer > iLayerToMergeDown) |
FOnUpdated & | OnUpdated () |
Implements the Layer stack model
FOdysseyLayerStackModel::FOdysseyLayerStackModel | ( | TSharedPtr< SOdysseyLayerStackView > | iWidget, |
const TAttribute< FOdysseyLayerStack * > & | iLayerStackData | ||
) |
Constructor
|
virtual |
Virtual destructor
void FOdysseyLayerStackModel::BuildAddLayerMenu | ( | FMenuBuilder & | iMenuBuilder | ) |
Builds up the LayerStack "Add Layer" menu.
MenuBuilder | The menu builder to add things to. |
FOdysseyLayerStackModel::DECLARE_MULTICAST_DELEGATE | ( | FOnUpdated | ) |
TSharedPtr< FUICommandList > FOdysseyLayerStackModel::GetCommandBindings | ( | ) | const |
const TSharedRef< FOdysseyLayerAddMenu > FOdysseyLayerStackModel::GetLayerAddMenu | ( | ) | const |
FOdysseyLayerStack * FOdysseyLayerStackModel::GetLayerStackData | ( | ) |
Gets the LayerStack data
TSharedRef< SOdysseyLayerStackView > FOdysseyLayerStackModel::GetLayerStackView | ( | ) | const |
TSharedPtr< FOdysseyLayerStackTree > FOdysseyLayerStackModel::GetNodeTree | ( | ) | const |
Gets the tree of nodes which is used to populate the GUI of the LayerStack
void FOdysseyLayerStackModel::OnDeleteLayer | ( | TSharedPtr< IOdysseyLayer > | iLayerToDelete | ) |
void FOdysseyLayerStackModel::OnDuplicateLayer | ( | TSharedPtr< IOdysseyLayer > | iLayerToDuplicate | ) |
void FOdysseyLayerStackModel::OnFlattenLayer | ( | TSharedPtr< IOdysseyLayer > | iLayerToMergeDown | ) |
void FOdysseyLayerStackModel::OnMergeLayerDown | ( | TSharedPtr< IOdysseyLayer > | iLayerToMergeDown | ) |
|
inline |
Gets a multicast delegate which is called whenever the node tree has been updated.