Navigation
API > API/Editor > API/Editor/Layers
The module holding all of the UI related peices for Layers
| Name | FLayersModule |
| Type | class |
| Header File | /Engine/Source/Editor/Layers/Public/LayersModule.h |
| Include Path | #include "LayersModule.h" |
Syntax
class FLayersModule : public IModuleInterface
Implements Interfaces
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FLayersMenuExtender | TBaseDelegate_OneParam< TSharedRef< FExtender >, const TSharedRef< FUICommandList > > | Delegates to be called to extend the layers menus | LayersModule.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LayersMenuExtenders | TArray< FLayersMenuExtender > | All extender delegates for the layers menus | LayersModule.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedRef< class SWidget > CreateLayerBrowser() |
Creates a Layer Browser widget | LayersModule.h | |
virtual TSharedRef< class SWidget > CreateLayerCloud
(
const TArray< TWeakObjectPtr< AActor > >& Actors |
Creates a widget that represents the layers the specified actors share in common as a cloud | LayersModule.h | |
virtual TArray< FLayersMenuExtender > & GetAllLayersMenuExtenders() |
LayersModule.h | ||
virtual void ShutdownModule() |
Called before the module is unloaded, right before the module object is destroyed. | LayersModule.h | |
virtual void StartupModule() |
Called right after the module DLL has been loaded and the module object has been created | LayersModule.h |