Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/WorldPartition > API/Runtime/Engine/WorldPartition/DataLayer
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDataLayerManager
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/WorldPartition/DataLayer/DataLayerManager.h |
| Include | #include "WorldPartition/DataLayer/DataLayerManager.h" |
Syntax
UCLASS (Config=Engine, Within=WorldPartition, MinimalAPI)
class UDataLayerManager : public UObject
Variables
| Type | Name | Description | |
|---|---|---|---|
| FOnDataLayerInstanceRuntimeStateChanged | OnDataLayerInstanceRuntimeStateChanged | Called when a Data Layer instance runtime state has changed. |
Constructors
No constructors are accessible with public or protected access.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ForEachDataLayerInstance
(
TFunctionRef< bool(UDataLayerInstance*)> Func |
||
| void | ForEachDataLayerInstance
(
TFunctionRef< bool(UDataLayerInstance*)> Func |
||
| const UDataLayerInstance * | GetDataLayerInstance
(
const T& InDataLayerIdentifier |
||
| PRAGMA_DISABLE_DEPRECATION_WARNINGS const UDataLayerInstance * | GetDataLayerInstance
(
const T& InDataLayerIdentifier |
||
| EDataLayerRuntimeState | GetDataLayerInstanceEffectiveRuntimeState
(
const UDataLayerInstance* InDataLayerInstance |
Finds a matching Data Layer instance referencing the provided Data Layer asset and returns the Data Layer Instance runtime state. | |
| const UDataLayerInstance * | GetDataLayerInstanceFromAsset
(
const UDataLayerAsset* InDataLayerAsset |
Returns the Data Layer instance referencing the provided Data Layer asset (if any). | |
| const UDataLayerInstance * | GetDataLayerInstanceFromName
(
const FName& InDataLayerInstanceName |
Returns the Data Layer instance matching the provided Data Layer instance name (if any). | |
| TArray< FName > | GetDataLayerInstanceNames
(
const TArray< T >& InDataLayerIdentifiers |
||
| EDataLayerRuntimeState | GetDataLayerInstanceRuntimeState
(
const UDataLayerInstance* InDataLayerInstance |
Returns the Data Layer instance runtime state. | |
| TArray< const UDataLayerInstance * > | GetDataLayerInstances
(
const TArray< T >& InDataLayerIdentifiers |
||
| TArray< UDataLayerInstance * > | Returns all Data Layer instances. | ||
| UDataLayerManager * | GetDataLayerManager
(
const T* InObject |
||
| const TSet< FName > & | |||
| const TSet< FName > & | |||
| bool | IsAllDataLayerInEffectiveRuntimeState
(
TArrayView< const FName > InDataLayerNames, |
||
| bool | IsAnyDataLayerInEffectiveRuntimeState
(
TArrayView< const FName > InDataLayerNames, |
||
| bool | SetDataLayerInstanceRuntimeState
(
const UDataLayerInstance* InDataLayerInstance, |
Changes the Data Layer instance runtime state. | |
| bool | SetDataLayerRuntimeState
(
const UDataLayerAsset* InDataLayerAsset, |
Finds a matching Data Layer instance referencing the provided Data Layer asset and changes its runtime state (if any). |
Constants
| Name | Description |
|---|---|
| DumpDataLayersCommand | Console command used to list Data Layers |
| SetDataLayerRuntimeStateCommand | Console command used to set Runtime Data Layer state |
| ToggleDataLayerActivation | Console command used to toggle activation of a Data Layer |