Navigation
API > API/Editor > API/Editor/DataLayerEditor
The module holding all of the UI related pieces for DataLayers
| Name | FDataLayerEditorModule |
| Type | class |
| Header File | /Engine/Source/Editor/DataLayerEditor/Public/DataLayerEditorModule.h |
| Include Path | #include "DataLayerEditorModule.h" |
Syntax
class FDataLayerEditorModule : public IDataLayerEditorModule
Implements Interfaces
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FDataLayerActor | TPair< TWeakObjectPtr< const UDataLayerInstance >, TWeakObjectPtr< const AActor > > | Delegates to be called to extend the DataLayers menus | DataLayerEditorModule.h |
| FDataLayersMenuExtender | TBaseDelegate_ThreeParams< TSharedRef< FExtender >, const TSharedRef< FUICommandList >, const TSet< TWeakObjectPtr< const UDataLayerInstance > > &, const TSet< FDataLayerActor > & > | DataLayerEditorModule.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DataLayerBrowser | TWeakPtr< SWidget > | DataLayerEditorModule.h | ||
| DataLayersMenuExtenders | TArray< FDataLayersMenuExtender > | All extender delegates for the DataLayers menus | DataLayerEditorModule.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool AddActorToDataLayers
(
AActor* Actor, |
Implement IDataLayerEditorModule | DataLayerEditorModule.h | |
virtual TSharedRef< class SWidget > CreateDataLayerBrowser() |
Creates a DataLayer Browser widget | DataLayerEditorModule.h | |
virtual TArray< FDataLayersMenuExtender > & GetAllDataLayersMenuExtenders() |
DataLayerEditorModule.h | ||
virtual void SetActorEditorContextCurrentExternalDataLayer
(
const UExternalDataLayerAsset* InExternalDataLayerAsset |
DataLayerEditorModule.h | ||
virtual void ShutdownModule() |
Called before the module is unloaded, right before the module object is destroyed. | DataLayerEditorModule.h | |
virtual void StartupModule() |
Called right after the module DLL has been loaded and the module object has been created | DataLayerEditorModule.h | |
virtual void SyncDataLayerBrowserToDataLayer
(
const UDataLayerInstance* DataLayer |
Selected DataLayer in DataLayer Browser widget | DataLayerEditorModule.h |