FScopedSlowTask::FScopedSlowTask

Construct this scope from an amount of work to do, and a message to display

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Misc/ScopedSlowTask.h"

Syntax

FScopedSlowTask
(
    float InAmountOfWork,
    const FText & InDefaultMessage,
    bool bInEnabled,
    FFeedbackContext & InContext
)

Remarks

Construct this scope from an amount of work to do, and a message to display

Parameters

Parameter

Description

InAmountOfWork

Arbitrary number of work units to perform (can be a percentage or number of steps). 0 indicates that no progress frames are to be entered in this scope (automatically enters a frame encompassing the entire scope)

InDefaultMessage

A message to display to the user to describe the purpose of the scope

bInEnabled

When false, this scope will have no effect. Allows for proper scoped objects that are conditionally disabled.

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