To create a progress bar while executing som long C++ code, you simply have to create an instance of FScopedSlowTask for the current scope. Then you'll also be able to display a Cancel button and ask questions to the user with the function YesNof.
Project Download: https://www.patreon.com/posts/unreal-...
include "Misc/ScopedSlowTask.h" // Core https://dev.epicgames.com/documentati...
include "Misc/FeedbackContext.h" // Core https://dev.epicgames.com/documentati...
────────────────────────────────────────────────────
Playlist ► • How To? - Unreal Engine 5 C++
────────────────────────────────────────────────────
French Channel ► https://www.youtube.com/AlexQuevillon...
English Channel ► https://www.youtube.com/AlexQuevillon...
────────────────────────────────────────────────────
Discord ► / discord
Patreon (Project Files) ► / alexquevillon
YouTube Members ► / @alexquevillonen
────────────────────────────────────────────────────
Unreal Engine Version ► 5.2
────────────────────────────────────────────────────
0:00 Intro
0:33 Declare functions
1:35 Includes
2:10 Execute slow task with progress bar
12:25 Execute nested slow task with progress bar
18:56 Test
22:24 Patreon Wall!
#UnrealEngine #UE5 #UE5Tutorial #UE4 #UE4Tutorial
UE5 C++ 57 - How To Display a Slow Task Progress Bar With C++? - Unreal Engine Tutorial CPP Editor Cancel Question Yes No Long Process