Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/WorldPartition > API/Runtime/Engine/WorldPartition/DataLayer
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- AActor
- AInfo
- AWorldDataLayers
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/WorldPartition/DataLayer/WorldDataLayers.h |
| Include | #include "WorldPartition/DataLayer/WorldDataLayers.h" |
Syntax
UCLASS (
HideCategories=(Actor, HLOD, Cooking, Transform, Advanced, Display, Events, Object, Physics, Attachment, Info, Input, Blueprint, Layers, Tags, Replication),
NotPlaceable, MinimalAPI)
class AWorldDataLayers :
public AInfo ,
public IDataLayerInstanceProvider
Remarks
Actor containing data layers instances within a world.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FDataLayersFilterDelegate | DataLayersFilterDelegate |
Constructors
| Type | Name | Description | |
|---|---|---|---|
AWorldDataLayers
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AddToActorEditorContext
(
UDataLayerInstance* InDataLayerInstance |
||
| bool | ContainsDataLayer
(
const UDEPRECATED_DataLayer* InDataLayer |
||
| bool | ContainsDataLayer
(
const UDataLayerInstance* InDataLayer |
||
| AWorldDataLayers * | Create
(
const FActorSpawnParameters& SpawnParameters |
||
| AWorldDataLayers * | |||
| DataLayerInstanceType * | CreateDataLayer
(
CreationsArgs... InCreationArgs |
||
| void | DumpDataLayers
(
FOutputDevice& OutputDevice |
||
| void | ForEachDataLayer
(
TFunctionRef< bool(UDataLayerInstance*)> Func |
||
| void | ForEachDataLayer
(
TFunctionRef< bool(UDataLayerInstance*)> Func |
||
| void | ForEachDataLayerInstance
(
TFunctionRef< bool(UDataLayerInstance*)> Func |
||
| void | ForEachDataLayerInstance
(
TFunctionRef< bool(UDataLayerInstance*)> Func |
||
| const TSet< FName > & | |||
| TArray< UDataLayerInstance * > | |||
| bool | |||
| EDataLayerRuntimeState | GetDataLayerEffectiveRuntimeStateByName
(
FName InDataLAyerName |
||
| const UDataLayerInstance * | GetDataLayerFromLabel
(
const FName& InDataLayerLabel |
||
| const UDataLayerInstance * | GetDataLayerInstance
(
const FName& InDataLayerInstanceName |
||
| PRAGMA_ENABLE_DEPRECATION_WARNINGS const UDataLayerInstance * | GetDataLayerInstance
(
const FActorDataLayer& InActorDataLayer |
||
| const UDataLayerInstance * | GetDataLayerInstance
(
const UDataLayerAsset* InDataLayerAsset |
||
| const UDataLayerInstance * | GetDataLayerInstanceFromAssetName
(
const FName& InDataLayerAssetFullName |
||
| TArray< FName > | GetDataLayerInstanceNames
(
const TArray< FActorDataLayer >& InActorDataLayers |
||
| TArray< FName > | GetDataLayerInstanceNames
(
const TArray< const UDataLayerAsset* >& InDataLayersAssets |
||
| TArray< const UDataLayerInstance * > | GetDataLayerInstances
(
const TArray< UDataLayerAsset* >& InDataLayersAssets |
||
| TArray< const UDataLayerInstance * > | GetDataLayerInstances
(
const TArray< FName >& InDataLayerInstanceNames |
||
| TArray< const UDataLayerInstance * > | GetDataLayerInstances
(
const TArray< FActorDataLayer >& InActorDataLayers |
||
| TArray< const UDataLayerInstance * > | GetDataLayerInstances
(
const TArray< const UDataLayerAsset* >& InDataLayersAssets |
||
| EDataLayerRuntimeState | GetDataLayerRuntimeStateByName
(
FName InDataLayerName |
||
| int32 | |||
| EDataLayerState | GetDataLayerStateByName
(
FName InDataLayerName |
||
| const TSet< FName > & | |||
| const TSet< FName > & | |||
| const UExternalDataLayerInstance * | GetExternalDataLayerInstance
(
const UExternalDataLayerAsset* InExternalDataLayerAsset |
||
| const TSet< FName > & | |||
| void | GetUserLoadedInEditorStates
(
TArray< FName >& OutDataLayersLoadedInEditor, |
||
| FName | |||
| FName | |||
| bool | |||
| void | |||
| bool | IsActorEditorContextCurrentColorized
(
const UDataLayerInstance* InDataLayerInstance |
||
| bool | IsEmpty () |
||
| bool | |||
| bool | IsInActorEditorContext
(
const UDataLayerInstance* InDataLayerInstance |
||
| bool | IsReadOnly
(
FText* OutReason |
||
| bool | |||
| bool | |||
| void | OnDataLayerRuntimeStateChanged
(
const UDataLayerInstance* InDataLayer, |
||
| void | |||
| void | |||
| void | |||
| void | |||
| void | OverwriteDataLayerRuntimeStates
(
const TArray< IdentifierType >* InActiveDataLayers, |
Todo_ow: Remove this | |
| void | OverwriteDataLayerRuntimeStates
(
const TArray< T >* InActiveDataLayers, |
Allows overriding of DataLayers with PlayFromHere. | |
| void | PopActorEditorContext
(
int32 InContextID |
||
| void | PushActorEditorContext
(
int32 InContextID, |
||
| bool | RemoveDataLayer
(
const UDataLayerInstance* InDataLayer, |
||
| bool | RemoveDataLayer
(
const UDEPRECATED_DataLayer* InDataLayer |
||
| int32 | RemoveDataLayers
(
const TArray< UDataLayerInstance* >& InDataLayerInstances, |
||
| bool | RemoveFromActorEditorContext
(
UDataLayerInstance* InDataLayerInstance |
||
| void | |||
| void | SetAllowRuntimeDataLayerEditing
(
bool bInAllowRuntimeDataLayerEditing |
||
| void | SetDataLayerRuntimeState
(
const UDataLayerInstance* InDataLayerInstance, |
DataLayer Runtime State. | |
| PRAGMA_DISABLE_DEPRECATION_WARNINGS void | SetDataLayerState
(
FActorDataLayer InDataLayer, |
||
| bool | SetUseExternalPackageDataLayerInstances
(
bool bInNewValue, |
||
| bool |
Overridden from AActor
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| bool | |||
| void | BeginPlay () |
Overridable native event for when play begins for this actor. | |
| TUniquePtr< class FWorldPartitionActorDesc > | Creates an uninitialized actor descriptor from this actor. Meant to be called on the class CDO. | ||
| bool | Returns true if actor location should be locked. | ||
| bool | Used to know if actor supports some editor operations. (Delete, Replace) | ||
| void | Called on the actor before checkpoint data is applied during a replay. | ||
| bool | ShouldImport
(
FStringView ActorPropString, |
Called before editor paste, true allow import | |
| bool | Determine how this actor should be referenced by the level when external (saved in its own package). |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| bool | IsEditorOnly () |
Called during saving to determine if the object is forced to be editor only or not | |
| void | PostEditUndo () |
Called after applying a transaction to the object. | |
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. | |
| void | PreEditUndo () |
Called before applying a transaction to the object. | |
| void | Handles reading, writing, and reference collecting using FArchive. |
Typedefs
| Name | Description |
|---|---|
| FDataLayersFilterDelegate |