ULevelStreaming::RequestLevel

Try to find loaded level in memory, issue a loading request otherwise

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/LevelStreaming.h

Include

#include "Engine/LevelStreaming.h"

Source

/Engine/Source/Runtime/Engine/Private/LevelStreaming.cpp

Syntax

virtual bool RequestLevel
(
    UWorld * PersistentWorld,
    bool bAllowLevelLoadRequests,
    EReqLevelBlock BlockPolicy
)

Remarks

Try to find loaded level in memory, issue a loading request otherwise

Returns

true if the load request was issued or a package was already loaded

Parameters

Parameter

Description

PersistentWorld

Persistent world

bAllowLevelLoadRequests

Whether to allow level load requests

BlockPolicy

Whether loading operation should block