ULayersSubsystem::RemoveActorsFromLayer

Removes the actors from 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 bool RemoveActorsFromLayer
(
    const TArray< TWeakObjectPtr< AActor > > & Actors,
    const FName & LayerName,
    const bool bUpdateStats
)

Remarks

Removes the actors from the specified layer.

Returns

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

Parameters

Parameter

Description

Actors

The actors to remove from the provided layer

LayerToRemove

The name of the layer to remove the actors from

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