UDataLayerEditorSubsystem::SetDataLayersIsLoadedInEditor

Changes the IsLoadedInEditor flag of the DataLayers to the provided state

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 SetDataLayersIsLoadedInEditor
(
    const [TArray](API\Runtime\Core\Containers\TArray)< [UDataLayerInstance](API\Runtime\Engine\WorldPartition\DataLayer\UDataLayerInstance) * > & DataLayers,
    const bool bIsLoadedInEditor,
    const bool bIsFromUserChange
)

Remarks

Changes the IsLoadedInEditor flag of the DataLayers to the provided state

Parameters

Name Description
DataLayers The DataLayers to affect
bIsLoadedInEditor The new value of the flag IsLoadedInEditor. If True, the Editor loading will consider this DataLayer to load or not an Actor part of this DataLayer. An Actor will not be loaded in the Editor if all its DataLayers are not LoadedInEditor.
bIsFromUserChange If this change originates from a user change or not.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library