ULayersSubsystem::AddActorsToLayer

Add the actors to the named 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 bool AddActorsToLayer
(
    const TArray< TWeakObjectPtr< AActor > > & Actors,
    const FName & LayerName
)

Remarks

Add the actors to the named layer

Returns

true if at least one actor was added to the layer. false is returned if all the actors already belonged to the layer.

Parameters

Parameter

Description

Actors

The actors to add to the named layer

LayerName

The name of the layer to add to

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