Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/IAsyncProgress
Description
Gets the task's completion percentage, if available (0.0 to 1.0, or unset).
Tasks should make a best effort to calculate a completion percentage. If the calculation is expensive, the value should be cached and only updated in regular intervals or whenever is appropriate. If a completion percentage cannot be computed at all, the optional return value should be unset.
| Name | GetCompletion |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Async/IAsyncProgress.h |
| Include Path | #include "Async/IAsyncProgress.h" |
TOptional < float > GetCompletion()
Completion percentage value.
See Also
- GetStatusText