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