Navigation
Unreal Engine C++ API Reference > Runtime > Core > Misc > FSlowTask
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 |
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
Name | 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. |