Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/Layers > API/Editor/UnrealEd/Layers/ULayersSubsystem
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/Layers/LayersSubsystem.h |
| Include | #include "Layers/LayersSubsystem.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Layers/LayersSubsystem.cpp |
virtual bool TryGetLayer
&40;
const FName & LayerName,
ULayer &42;& OutLayer
&41;
Remarks
Attempts to get the ULayer Object of the provided layer name. If true a valid ULayer Object was found and set to OutLayer; if false, a valid ULayer object was not found and invalid set to OutLayer
Parameters
| Name | Description |
|---|---|
| LayerName | The name of the layer whose ULayer Object to retrieve |
| OutLayer[OUT] | Set to the ULayer Object of the named layer. Set to Invalid if no ULayer Object exists. |