Navigation
Unreal Engine C++ API Reference > Editor > UnrealEd > Layers > ULayersSubsystem > GetActorsFromLayers
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; > GetActorsFromLayers
&40;
const TArray< FName > & LayerNames,
const TSharedPtr< ActorFilter > & Filter
&41; const
Remarks
Gets all the actors associated with ANY of the specified layers. Analog to AppendActorsFromLayers but it returns rather than appends the actors. The list to assign the found actors to.
Parameters
Name | Description |
---|---|
LayerNames | The layers to find actors for. |
Filter | [optional] Actor that don't pass the specified filter restrictions won't be selected. |