UDataLayerEditorSubsystem::GetDataLayerInstance

Gets the [UDataLayerInstance](API\Runtime\Engine\WorldPartition\DataLayer\UDataLayerInstance) associated to the DataLayerAsset

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

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
[UDataLayerInstance](API\Runtime\Engine\WorldPartition\DataLayer\UDataLayerInstance) * GetDataLayerInstance
(
    const [UDataLayerAsset](API\Runtime\Engine\WorldPartition\DataLayer\UDataLayerAsset) * DataLayerAsset
) const

Remarks

Gets the UDataLayerInstance associated to the DataLayerAsset The UDataLayerInstance of the provided DataLayerAsset

Parameters

Name Description
DataLayerAsset The DataLayerAsset associated to the UDataLayerInstance

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library