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 |
UFUNCTION (BlueprintCallable, Category=Layers)
virtual bool AddActorToLayers
(
AActor * Actor,
const TArray < FName > & LayerNames
)
Remarks
Adds the provided actor to the named layers. true if the actor was added to at least one of the provided layers.
Parameters
| Name | Description |
|---|---|
| Actor | The actor to add to the provided layers |
| LayerNames | A valid list of layer names. |