Navigation
API > API/Plugins > API/Plugins/LevelStreamingPersistence
| Name | ULevelStreamingPersistenceSettings |
| Type | class |
| Header File | /Engine/Plugins/Runtime/LevelStreamingPersistence/Source/LevelStreamingPersistence/Public/LevelStreamingPersistenceSettings.h |
| Include Path | #include "LevelStreamingPersistenceSettings.h" |
Syntax
UCLASS (Config=Engine, defaultconfig, Meta=(DisplayName="Level Streaming Persistence"))
class ULevelStreamingPersistenceSettings : public UDeveloperSettings
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UDeveloperSettings → ULevelStreamingPersistenceSettings
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ULevelStreamingPersistenceSettings() |
LevelStreamingPersistenceSettings.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bCanRemoveActorsBeforeBeginPlay | bool | If true, actors can be removed before BeginPlay by marking them as garbage before the level enters play. | LevelStreamingPersistenceSettings.h |
|
| bIncludePersistentLevel | bool | If true, persistence data is also saved for actors in the persistent level. Off by default for backwards compatibility. | LevelStreamingPersistenceSettings.h |
|
| bPersistAllActorDestruction | bool | If true, destruction of map actors of any class will be saved, to be destroyed on level reload. | LevelStreamingPersistenceSettings.h |
|
| PersistedActorDestructionAllowList | TArray< FSoftClassPath > | If bPersistAllActorDestruction == false: specific actor base classes for map actors whose destruction is saved, to be redestroyed on level reload. | LevelStreamingPersistenceSettings.h |
|
| Properties | TArray< FLevelStreamingPersistentProperty > | Persistence settings per property. Properties are populated based on PropertyOwningClassFilter. | LevelStreamingPersistenceSettings.h |
|
| PropertyOwningClassFilter | TSet< FSoftClassPath > | Editor-only: These classes are used to populate the properties dropdown below. | LevelStreamingPersistenceSettings.h |
|
| RuntimeRespawnedActorClasses | TArray< FSoftClassPath > | Actor base classes to scan for at level-save time. | LevelStreamingPersistenceSettings.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool CanRemoveActorsBeforeBeginPlay() |
LevelStreamingPersistenceSettings.h | ||
bool ShouldIncludePersistentLevel() |
LevelStreamingPersistenceSettings.h | ||
bool ShouldPersistActorDestruction
(
const AActor* Actor |
LevelStreamingPersistenceSettings.h | ||
bool ShouldPersistAnyActorDestruction() |
LevelStreamingPersistenceSettings.h | ||
bool ShouldPersistRuntimeActorClass
(
TSubclassOf< AActor > Class |
LevelStreamingPersistenceSettings.h | ||
bool ShouldRuntimeRespawnAnyActor() |
LevelStreamingPersistenceSettings.h |