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 AddActorToDataLayer ( [AActor](API\Runtime\Engine\GameFramework\AActor) * Actor, [UDataLayerInstance](API\Runtime\Engine\WorldPartition\DataLayer\UDataLayerInstance) * DataLayer )
Remarks
Adds the actor to the DataLayer. true if the actor was added. false is returned if the actor already belongs to the DataLayer.
Parameters
Name | Description |
---|---|
Actor | The actor to add to the DataLayer |
DataLayer | The DataLayer to add the actor to |