Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/ULayersSubsystem
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AddActorsToLayers
(
const TArray< AActor* >& Actors, |
Add the actors to the named layers | Layers/LayersSubsystem.h |
|
virtual bool AddActorsToLayers
(
const TArray< TWeakObjectPtr< AActor > >& Actors, |
Add the actors to the named layers | Layers/LayersSubsystem.h |
AddActorsToLayers(const TArray< AActor * > &, const TArray< FName > &)
Description
Add the actors to the named layers
| Name | AddActorsToLayers |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Layers/LayersSubsystem.h |
| Include Path | #include "Layers/LayersSubsystem.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Layers/LayersSubsystem.cpp |
UFUNCTION (BlueprintCallable, Category=Layers)
bool AddActorsToLayers
(
const TArray < AActor * > & Actors,
const TArray < FName > & LayerNames
)
true if at least one actor was added to at least one layer. false is returned if all the actors already belonged to all specified layers.
Parameters
| Name | Remarks |
|---|---|
| Actors | The actors to add to the named layers |
| LayerNames | A valid list of layer names. |
AddActorsToLayers(const TArray< TWeakObjectPtr< AActor > > &, const TArray< FName > &)
Description
Add the actors to the named layers
| Name | AddActorsToLayers |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Layers/LayersSubsystem.h |
| Include Path | #include "Layers/LayersSubsystem.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Layers/LayersSubsystem.cpp |
virtual bool AddActorsToLayers
(
const TArray < TWeakObjectPtr < AActor > > & Actors,
const TArray < FName > & LayerNames
)
true if at least one actor was added to at least one layer. false is returned if all the actors already belonged to all specified layers.
Parameters
| Name | Remarks |
|---|---|
| Actors | The actors to add to the named layers |
| LayerNames | A valid list of layer names. |