ULayersSubsystem::RemoveActorsFromLayers

Remove the actors 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

bool RemoveActorsFromLayers
(
    const TArray< AActor * > & Actors,
    const TArray< FName > & LayerNames,
    const bool bUpdateStats
)

Remarks

Remove the actors to the named layers

Returns

true if at least one actor was removed from at least one layer. false is returned if none of the actors belonged to any of the specified layers.

Parameters

Parameter

Description

Actors

The actors to remove to the named 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