UDataLayerEditorSubsystem::SetDataLayerIsLoadedInEditor

Changes the DataLayer's IsLoadedInEditor flag 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 SetDataLayerIsLoadedInEditor
(
    [UDataLayerInstance](API\Runtime\Engine\WorldPartition\DataLayer\UDataLayerInstance) * DataLayer,
    const bool bIsLoadedInEditor,
    const bool bIsFromUserChange
)

Remarks

Changes the DataLayer's IsLoadedInEditor flag to the provided state

Parameters

Name Description
DataLayer The DataLayer 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