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 AddActorToLayer
&40;
AActor &42; Actor,
const FName & LayerName
&41;
Remarks
Adds the actor to the named layer. true if the actor was added. false is returned if the actor already belongs to the layer.
Parameters
| Name | Description |
|---|---|
| Actor | The actor to add to the named layer |
| LayerName | The name of the layer to add the actor to |