ULayersSubsystem::RemoveActorFromLayer

Removes an actor 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 RemoveActorFromLayer
(
    AActor * Actor,
    const FName & LayerToRemove,
    const bool bUpdateStats
)

Remarks

Removes an actor from the specified layer.

Returns

true if the actor was removed from the layer. false is returned if the actor already belonged to the layer.

Parameters

Parameter

Description

Actor

The actor to remove from the provided layer

LayerToRemove

The name of the layer to remove the actor 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