Navigation
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 AddActorsToDataLayers ( const [TArray](API\Runtime\Core\Containers\TArray)< [AActor](API\Runtime\Engine\GameFramework\AActor) * > & Actors, const [TArray](API\Runtime\Core\Containers\TArray)< [UDataLayerInstance](API\Runtime\Engine\WorldPartition\DataLayer\UDataLayerInstance) * > & DataLayers )
Remarks
Add the actors to the DataLayers true if at least one actor was added to at least one DataLayer. false is returned if all the actors already belonged to all specified DataLayers.
Parameters
Name | Description |
---|---|
Actors | The actors to add to the DataLayers |
DataLayers | A valid list of DataLayers. |