Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/ULayersSubsystem
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AddActorsToLayer
(
const TArray< AActor* >& Actors, |
Add the actors to the named layer | Layers/LayersSubsystem.h |
|
virtual bool AddActorsToLayer
(
const TArray< TWeakObjectPtr< AActor > >& Actors, |
Add the actors to the named layer | Layers/LayersSubsystem.h |
AddActorsToLayer(const TArray< AActor * > &, const FName &)
Description
Add the actors to the named layer
| Name | AddActorsToLayer |
| 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 AddActorsToLayer
(
const TArray < AActor * > & Actors,
const FName & LayerName
)
true if at least one actor was added to the layer. false is returned if all the actors already belonged to the layer.
Parameters
| Name | Remarks |
|---|---|
| Actors | The actors to add to the named layer |
| LayerName | The name of the layer to add to |
AddActorsToLayer(const TArray< TWeakObjectPtr< AActor > > &, const FName &)
Description
Add the actors to the named layer
| Name | AddActorsToLayer |
| 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 AddActorsToLayer
(
const TArray < TWeakObjectPtr < AActor > > & Actors,
const FName & LayerName
)
true if at least one actor was added to the layer. false is returned if all the actors already belonged to the layer.
Parameters
| Name | Remarks |
|---|---|
| Actors | The actors to add to the named layer |
| LayerName | The name of the layer to add to |