UDataLayerEditorSubsystem::RemoveActorFromDataLayers

Removes the provided actor from the DataLayers.

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 RemoveActorFromDataLayers
(
    [AActor](API\Runtime\Engine\GameFramework\AActor) * Actor,
    const [TArray](API\Runtime\Core\Containers\TArray)< [UDataLayerInstance](API\Runtime\Engine\WorldPartition\DataLayer\UDataLayerInstance) * > & DataLayers
)

Remarks

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

Parameters

Name Description
Actor The actor to remove from the provided DataLayers
DataLayers A valid list of DataLayers.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library