ProcessAsyncLoading

Serializes a bit of data each frame with a soft time limit.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h

Include

#include "UObject/UObjectGlobals.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/Serialization/AsyncPackageLoader.cpp

Syntax

EAsyncPackageState::Type ProcessAsyncLoading
(
    bool bUseTimeLimit,
    bool bUseFullTimeLimit,
    float TimeLimit
)

Remarks

Serializes a bit of data each frame with a soft time limit. The function is designed to be able to fully load a package in a single pass given sufficient time.

Returns

The minimum state of any of the queued packages.

Parameters

Parameter

Description

bUseTimeLimit

Whether to use a time limit

bUseFullTimeLimit

If true, use the entire time limit even if blocked on I/O

TimeLimit

Soft limit of time this function is allowed to consume

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