UDataLayerEditorSubsystem::GetDataLayerInstances

Gets the UDataLayerInstances associated to the each DataLayerAssets

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

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
[TArray](API\Runtime\Core\Containers\TArray)< [UDataLayerInstance](API\Runtime\Engine\WorldPartition\DataLayer\UDataLayerInstance) * > GetDataLayerInstances
(
    const [TArray](API\Runtime\Core\Containers\TArray)< [UDataLayerAsset](API\Runtime\Engine\WorldPartition\DataLayer\UDataLayerAsset) * > DataLayerAssets
) const

Remarks

Gets the UDataLayerInstances associated to the each DataLayerAssets The array of UDataLayerInstances corresponding to a DataLayerAsset in the DataLayerAssets array

Parameters

Name Description
DataLayerAssets The array of DataLayerAssets associated to UDataLayerInstances

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library