ULayersSubsystem::GetActorsFromLayers

Gets all the actors associated with ANY of the specified layers.

Windows
MacOS
Linux

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

Syntax

TArray< AActor * > GetActorsFromLayers
(
    const TArray< FName > & LayerNames
) const

Remarks

Gets all the actors associated with ANY of the specified layers. Analog to AppendActorsFromLayers but it returns rather than appends the actors.

Returns

The list to assign the found actors to.

Parameters

Parameter

Description

LayerNames

The layers to find actors for.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss