UDataLayerEditorSubsystem::RemoveActorFromDataLayer

Removes an actor from the specified DataLayer.

Unreal Engine C++ API Reference > Editor > DataLayerEditor > DataLayer > UDataLayerEditorSubsystem

References

   
Module DataLayerEditor
Header /Engine/Source/Editor/DataLayerEditor/Public/DataLayer/DataLayerEditorSubsystem.h
Include #include "DataLayer/DataLayerEditorSubsystem.h"
Source /Engine/Source/Editor/DataLayerEditor/Private/DataLayer/DataLayerEditorSubsystem.cpp
bool RemoveActorFromDataLayer
(
    [AActor](API\Runtime\Engine\GameFramework\AActor) * Actor,
    [UDataLayerInstance](API\Runtime\Engine\WorldPartition\DataLayer\UDataLayerInstance) * DataLayerToRemove
)

Remarks

Removes an actor from the specified DataLayer. true if the actor was removed from the DataLayer. false is returned if the actor already belonged to the DataLayer.

Parameters

Name Description
Actor The actor to remove from the provided DataLayer
DataLayerToRemove The DataLayer to remove the actor from

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library