UWorld::FlushLevelStreaming

Flushes level streaming in blocking fashion and returns when all levels are loaded/ visible/ hidden so further calls to UpdateLevelStreaming won't do any work unless state changes.

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/World.cpp

Syntax

void FlushLevelStreaming
(
    EFlushLevelStreamingType FlushType
)

Remarks

Flushes level streaming in blocking fashion and returns when all levels are loaded/ visible/ hidden so further calls to UpdateLevelStreaming won't do any work unless state changes. Basically blocks on all async operation like updating components.

Parameters

Parameter

Description

FlushType

Whether to only flush level visibility operations (optional)

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