ULayersSubsystem::GetActorsFromLayer

Gets all the actors associated with the specified layer.

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 * > GetActorsFromLayer
(
    const FName & LayerName
) const

Remarks

Gets all the actors associated with the specified layer. Analog to AppendActorsFromLayer but it returns rather than appends the actors.

Returns

The list to assign the found actors to.

Parameters

Parameter

Description

LayerName

The layer 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