UWorld::LoadSecondaryLevels

Called after GWorld has been set.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/World.h

Include

#include "Engine/World.h"

Source

/Engine/Source/Runtime/Engine/Private/LevelActor.cpp

Syntax

void LoadSecondaryLevels
(
    bool bForce,
    TSet< FName > * FilenamesToSkip
)

Remarks

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.

Parameters

Parameter

Description

bForce

If true, load the levels even is a commandlet

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss