Navigation
Unreal Engine C++ API Reference > Editor > UnrealEd > Layers > ULayersSubsystem > RemoveActorsFromLayer
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 |
virtual bool RemoveActorsFromLayer
&40;
const TArray< TWeakObjectPtr< AActor > > & Actors,
const FName & LayerName,
const bool bUpdateStats
&41;
Remarks
Removes the actors from the specified layer. 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 | Description |
---|---|
Actors | The actors to remove from the provided layer |
LayerToRemove | The name of the layer to remove the actors from |