Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/WorldPartition > API/Runtime/Engine/WorldPartition/DataLayer
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDataLayerInstance
- UDataLayerInstancePrivate
- UDataLayerInstanceWithAsset
- UDeprecatedDataLayerInstance
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/WorldPartition/DataLayer/DataLayerInstance.h |
| Include | #include "WorldPartition/DataLayer/DataLayerInstance.h" |
Syntax
class UDataLayerInstance : public UObject
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32: 1 | bIsInitiallyLoadedInEditor | Determines the default value of the data layer's loaded state in editor if it hasn't been changed in data layer outliner by the user | |
| uint32: 1 | bIsInitiallyVisible | Whether actors associated with the Data Layer should be initially visible in the viewport when loading the map | |
| uint32: 1 | bIsLoadedInEditor | Wheter the data layer is loaded in editor (user setting) | |
| uint32: 1 | bIsLoadedInEditorChangedByUserOperation | Whether this data layer editor visibility was changed by a user operation | |
| uint32: 1 | bIsLocked | Whether this data layer is locked, which means the user can't change actors assignation, remove or rename it | |
| uint32: 1 | bIsVisible | Whether actors associated with the DataLayer are visible in the viewport | |
| uint32: 1 | bUndoIsLoadedInEditor | ||
| EDataLayerRuntimeState | InitialRuntimeState |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UDataLayerInstance
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| bool | |||
| bool | CanAddActor
(
AActor* Actor |
||
| bool | CanBeChildOf
(
const UDataLayerInstance* InParent, |
||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | CanRemoveActor
(
AActor* Actor |
||
| bool | |||
| bool | |||
| void | |||
| void | ForEachChild
(
TFunctionRef< bool(const UDataLayerInstance*)> Operation |
||
| const UDataLayerAsset * | GetAsset () |
||
| const TArray< TObjectPtr< UDataLayerInstance > > & | GetChildren () |
||
| FName | |||
| FString | |||
| const TCHAR * | |||
| FString | |||
| FText | GetDataLayerText
(
const UDataLayerInstance* InDataLayer |
||
| FColor | |||
| EDataLayerRuntimeState | |||
| EDataLayerRuntimeState | |||
| UWorld * | |||
| AWorldDataLayers * | |||
| const UDataLayerInstance * | GetParent () |
||
| UDataLayerInstance * | GetParent () |
||
| EDataLayerRuntimeState | |||
| EDataLayerType | GetType () |
||
| T * | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | IsLocked () |
||
| bool | IsParentDataLayerTypeCompatible
(
const UDataLayerInstance* InParent |
||
| bool | IsReadOnly () |
||
| bool | IsRuntime () |
||
| bool | Whether the DataLayer was created by a user and can be deleted by a user. | ||
| bool | IsVisible () |
||
| bool | PerformAddActor
(
AActor* InActor |
||
| bool | PerformRemoveActor
(
AActor* InActor |
||
| void | PerformSetDataLayerShortName
(
const FString& InNewShortName |
||
| bool | RemoveActor
(
AActor* Actor |
||
| bool | |||
| void | SetChildParent
(
UDataLayerInstance* InParent |
||
| void | SetIsInitiallyVisible
(
bool bIsInitiallyVisible |
||
| void | SetIsLoadedInEditor
(
bool bIsLoadedInEditor, |
||
| void | SetIsLocked
(
bool bInIsLocked |
||
| bool | SetParent
(
UDataLayerInstance* InParent |
||
| void | SetVisible
(
bool bIsVisible |
||
| bool | |||
| bool | Validate
(
IStreamingGenerationErrorHandler* ErrorHandler |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| bool | CanEditChange
(
const FProperty* InProperty |
Called by the editor to query whether a property of this object is allowed to be modified. | |
| 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. |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CanParent
(
const UDataLayerInstance* InParent |
Use CanBeChildOf instead | |
| bool | RelabelDataLayer
(
FName NewDataLayerLabel |
Use SetShortName instead | |
| bool | Use CanEditShortName instead |