Navigation
API > API/Runtime > API/Runtime/Engine
Allows you to provide a custom layer that multiple sources can contribute to. Unlike adding widgets directly to the layer manager. First registering a layer with a name allows multiple widgets to be added.
| Name | IGameLayer |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Slate/SGameLayerManager.h |
| Include Path | #include "Slate/SGameLayerManager.h" |
Syntax
class IGameLayer : public TSharedFromThis< IGameLayer >
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → IGameLayer
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IGameLayer() |
Virtual destructor. | Slate/SGameLayerManager.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedRef< SWidget > AsWidget() |
Get the layer as a widget. | Slate/SGameLayerManager.h |