ULayersSubsystem::AddActorToLayers

Adds the provided actor to the named 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

virtual bool AddActorToLayers
(
    AActor * Actor,
    const TArray< FName > & LayerNames
)

Remarks

Adds the provided actor to the named layers.

Returns

true if the actor was added to at least one of the provided layers.

Parameters

Parameter

Description

Actor

The actor to add to the provided layers

LayerNames

A valid list of layer names.

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