Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/ULayersSubsystem
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool RemoveActorsFromLayers
(
const TArray< AActor* >& Actors, |
Remove the actors to the named layers | Layers/LayersSubsystem.h |
|
virtual bool RemoveActorsFromLayers
(
const TArray< TWeakObjectPtr< AActor > >& Actors, |
Remove the actors to the named layers | Layers/LayersSubsystem.h |
RemoveActorsFromLayers(const TArray< AActor * > &, const TArray< FName > &, const bool)
Description
Remove the actors to the named layers
| Name | RemoveActorsFromLayers |
| 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 RemoveActorsFromLayers
(
const TArray < AActor * > & Actors,
const TArray < FName > & LayerNames,
const bool bUpdateStats
)
true if at least one actor was removed from at least one layer. false is returned if none of the actors belonged to any of the specified layers.
Parameters
| Name | Remarks |
|---|---|
| Actors | The actors to remove to the named layers |
| LayerNames | A valid list of layer names. |
RemoveActorsFromLayers(const TArray< TWeakObjectPtr< AActor > > &, const TArray< FName > &, const bool)
Description
Remove the actors to the named layers
| Name | RemoveActorsFromLayers |
| 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 RemoveActorsFromLayers
(
const TArray < TWeakObjectPtr < AActor > > & Actors,
const TArray < FName > & LayerNames,
const bool bUpdateStats
)
true if at least one actor was removed from at least one layer. false is returned if none of the actors belonged to any of the specified layers.
Parameters
| Name | Remarks |
|---|---|
| Actors | The actors to remove to the named layers |
| LayerNames | A valid list of layer names. |