Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FSlowTask
Description
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.
| Name | MakeDialogDelayed |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/SlowTask.h |
| Include Path | #include "Misc/SlowTask.h" |
| Source | /Engine/Source/Runtime/Core/Private/Misc/SlowTask.cpp |
void MakeDialogDelayed
(
float Threshold,
bool bShowCancelButton,
bool bAllowInPIE
)
Parameters
| Name | Remarks |
|---|---|
| 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. |