Module |
|
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 * > GetActorsFromLayer
(
const FName & LayerName,
const TSharedPtr< ActorFilter > & Filter
) const
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.
Parameter |
Description |
---|---|
LayerName |
The layer to find actors for. |
Filter |
[optional] Actor that don't pass the specified filter restrictions won't be selected. |