Navigation
Unreal Engine C++ API Reference > Editor > UnrealEd > Layers > ULayersSubsystem
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 RemoveActorFromLayer
&40;
AActor &42; Actor,
const FName & LayerToRemove,
const bool bUpdateStats
&41;
Remarks
Removes an actor from the specified layer. true if the actor was removed from the layer. false is returned if the actor already belonged to the layer.
Parameters
Name | Description |
---|---|
Actor | The actor to remove from the provided layer |
LayerToRemove | The name of the layer to remove the actor from |