ULayersSubsystem::AppendActorsFromLayer

Appends 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

virtual void AppendActorsFromLayer
(
    const FName & LayerName,
    TArray< TWeakObjectPtr< AActor > > & InOutActors,
    const TSharedPtr< ActorFilter > & Filter
) const

Remarks

Appends all the actors associated with the specified layer.

Parameters

Parameter

Description

LayerName

The layer to find actors for.

InOutActors

The list to append the found actors to.

Filter

[optional] Actor that don't pass the specified filter restrictions won't be selected.

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