/Engine/Source/Runtime/Engine/Public/Slate/SGameLayerManager.h
Get the layer as a widget.
[TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [SWidget](API\Runtime\SlateCore\Widgets\SWidget) > AsWidget()