Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/Layers > API/Editor/UnrealEd/Layers/ULayersSubsystem > API/Editor/UnrealEd/Layers/ULayersSubsystem/AddActorsToLayer
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 AddActorsToLayer
&40;
const TArray< TWeakObjectPtr< AActor > > & Actors,
const FName & LayerName
&41;
Remarks
Add the actors to the named layer 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 | Description |
---|---|
Actors | The actors to add to the named layer |
LayerName | The name of the layer to add to |