Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/Layers > API/Editor/UnrealEd/Layers/ULayersSubsystem > API/Editor/UnrealEd/Layers/ULayersSubsystem/GetActorsFromLayer
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 |
TArray< AActor &42; > GetActorsFromLayer
&40;
const FName & LayerName,
const TSharedPtr< ActorFilter > & Filter
&41; const
Remarks
Gets all the actors associated with the specified layer. Analog to AppendActorsFromLayer but it returns rather than appends the actors. The list to assign the found actors to.
Parameters
| Name | Description |
|---|---|
| LayerName | The layer to find actors for. |
| Filter | [optional] Actor that don't pass the specified filter restrictions won't be selected. |