Navigation
API > API/Editor > API/Editor/LandscapeEditor
Displays a list of layers with drag + drop support for layer reordering outside of landscape mode. Can be directly constructed in editor code or can be constructed indirectly through ILandscapeEditorServices.
| Name | SLandscapeLayerListDialog |
| Type | class |
| Header File | /Engine/Source/Editor/LandscapeEditor/Public/SLandscapeLayerListDialog.h |
| Include Path | #include "SLandscapeLayerListDialog.h" |
Syntax
class SLandscapeLayerListDialog : public SCustomDialog
Inheritance Hierarchy
- FGCObject → FSlateInvalidationRoot → SWindow → SCustomDialog → SLandscapeLayerListDialog
- FNoncopyable → FSlateInvalidationRoot → SWindow → SCustomDialog → SLandscapeLayerListDialog
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SWindow → SCustomDialog → SLandscapeLayerListDialog
- FSlateControlledConstruction → SWidget → SCompoundWidget → SWindow → SCustomDialog → SLandscapeLayerListDialog
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~SLandscapeLayerListDialog() |
SLandscapeLayerListDialog.h |
Structs
| Name | Remarks |
|---|---|
| FArguments |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| InsertedLayerIndex | int | Index of the layer which is being inserted into the layer stack | SLandscapeLayerListDialog.h | |
| Landscape | TWeakObjectPtr< ALandscape > | SLandscapeLayerListDialog.h | ||
| LayerListView | TSharedPtr< SWidgetLayerListView > | The list view of WidgetLayerList. | SLandscapeLayerListDialog.h | |
| WidgetLayerList | TArray< TSharedPtr< FWidgetLayerListItem > > | Array of FWidgetLayerListItem, which contains ULandscapeEditLayerBase* in addition to intermediate data. | SLandscapeLayerListDialog.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs, |
Construct this widget. Called by the SNew() Slate macro. | SLandscapeLayerListDialog.h | |
int32 GetInsertedLayerIndex() |
SLandscapeLayerListDialog.h |