Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FDataLayerUtils
Description
Returns true if a cell should be considered client-only based on its data layer instances. When the list contains a mix of External Data Layer (EDL) and regular data layers, the EDL is skipped as long as it is not server-only (i.e. its load filter is None or ClientOnly). Only the regular data layers are tested via IsClientOnly(). When the list contains a single entry (EDL or regular), its IsClientOnly() value is used directly. At most one EDL is expected in the list.
| Name | IsClientOnlyFromDataLayers |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/WorldPartition/DataLayer/DataLayerUtils.h |
| Include Path | #include "WorldPartition/DataLayer/DataLayerUtils.h" |
| Source | /Engine/Source/Runtime/Engine/Private/WorldPartition/DataLayer/DataLayerUtils.cpp |
static bool IsClientOnlyFromDataLayers
(
const TArray < const UDataLayerInstance * > & InCellDataLayerInstances
)