ULayersSubsystem::RemoveActorFromLayers

Removes the provided actor from 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 RemoveActorFromLayers
(
    AActor * Actor,
    const TArray< FName > & LayerNames,
    const bool bUpdateStats
)

Remarks

Removes the provided actor from the named layers.

Returns

true if the actor was removed from at least one of the provided layers.

Parameters

Parameter

Description

Actor

The actor to remove from 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