Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FTickFunction
Warnings * This function is not threadsafe to call on a registered tick function and must be called from the game thread.
Description
Enables or disables this tick function. Disabled tick functions will never execute, even if registered. Enabling during a tick frame will tick it in the next tick group if it has not already ticked this frame. Disabling during a tick frame will stop it from executing unless it is already in progress.
This function is not threadsafe to call on a registered tick function and must be called from the game thread. Enables or disables this tick function.
| Name | SetTickFunctionEnable |
| 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 SetTickFunctionEnable
(
bool bInEnabled
)