Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UWorld
Description
Called after GWorld has been set. Used to load, but not associate, all levels in the world in the Editor and at least create linkers in the game. Should only be called against GWorld::PersistentLevel's WorldSettings.
| Name | LoadSecondaryLevels |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/World.h |
| Include Path | #include "Engine/World.h" |
| Source | /Engine/Source/Runtime/Engine/Private/LevelActor.cpp |
void LoadSecondaryLevels
(
bool bForce,
TSet< FName > * PackageNamesToSkip
)
Parameters
| Name | Remarks |
|---|---|
| bForce | If true, load the levels even is a commandlet |