Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FTickFunction
Description
Correctly call ExecuteTick on a nested function. This will set the completion event properly for the duration of the tick function.
| Name | ExecuteNestedTick |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/EngineBaseTypes.h |
| Include Path | #include "Engine/EngineBaseTypes.h" |
| Source | /Engine/Source/Runtime/Engine/Private/TickTaskManager.cpp |
void ExecuteNestedTick
(
float DeltaTime,
ELevelTick TickType,
ENamedThreads::Type CurrentThread,
const FGraphEventRef & MyCompletionGraphEvent
)
Parameters
| Name | Remarks |
|---|---|
| DeltaTime | frame time to advance, in seconds |
| TickType | kind of tick for this frame |
| CurrentThread | thread we are executing on, useful to pass along as new tasks are created |
| MyCompletionGraphEvent | completion event for this task. Useful for delaying the completion of this task until child tasks are complete. |