FSlowTask::MakeDialogDelayed

Creates a new dialog for this slow task after the given time threshold.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/SlowTask.h

Include

#include "Misc/SlowTask.h"

Source

/Engine/Source/Runtime/Core/Private/Misc/SlowTask.cpp

Syntax

void MakeDialogDelayed
(
    float Threshold,
    bool bShowCancelButton,
    bool bAllowInPIE
)

Remarks

Creates a new dialog for this slow task after the given time threshold. If the task completes before this time, no dialog will be shown.

Parameters

Parameter

Description

Threshold

Time in seconds before dialog will be shown.

bShowCancelButton

Whether to show a cancel button on the dialog or not

bAllowInPIE

Whether to allow this dialog in PIE. If false, this dialog will not appear during PIE sessions.

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