ProcessAsyncLoading

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

Choose your operating system:

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,
    double 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