Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UEngine
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool PrepareMapChange
(
UWorld* InWorld, |
Engine/Engine.h | ||
bool PrepareMapChange
(
FWorldContext& WorldContext, |
Prepares the engine for a map change by pre-loading level packages in the background. | Engine/Engine.h |
PrepareMapChange(UWorld *, const TArray< FName > &)
| Name | PrepareMapChange |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/Engine.h |
| Include Path | #include "Engine/Engine.h" |
bool PrepareMapChange
(
UWorld * InWorld,
const TArray < FName > & LevelNames
)
PrepareMapChange(FWorldContext &, const TArray< FName > &)
Description
Prepares the engine for a map change by pre-loading level packages in the background.
| Name | PrepareMapChange |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/Engine.h |
| Include Path | #include "Engine/Engine.h" |
| Source | /Engine/Source/Runtime/Engine/Private/UnrealEngine.cpp |
bool PrepareMapChange
(
FWorldContext & WorldContext,
const TArray < FName > & LevelNames
)
true if all packages were in the package file cache and the operation succeeded, false otherwise. false as a return value also indicates that the code has given up.
Parameters
| Name | Remarks |
|---|---|
| LevelNames | Array of levels to load in the background; the first level in this list is assumed to be the new "persistent" one. |