Navigation
API > API/Runtime > API/Runtime/Engine
Determines which ticking group a tick function belongs to.
| Name | ETickingGroup |
| Type | enum |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/EngineBaseTypes.h |
| Include Path | #include "Engine/EngineBaseTypes.h" |
Syntax
enum ETickingGroup
{
TG_PrePhysics,
TG_StartPhysics,
TG_DuringPhysics,
TG_EndPhysics,
TG_PostPhysics,
TG_PostUpdateWork,
TG_LastDemotable,
TG_NewlySpawned,
TG_MAX,
}
Values
| Name | Remarks |
|---|---|
| TG_PrePhysics | Any item that needs to be executed before physics simulation starts. |
| TG_StartPhysics | Special tick group that starts physics simulation. |
| TG_DuringPhysics | Any item that can be run in parallel with our physics simulation work. |
| TG_EndPhysics | Special tick group that ends physics simulation. |
| TG_PostPhysics | Any item that needs rigid body and cloth simulation to be complete before being executed. |
| TG_PostUpdateWork | Any item that needs the update work to be done before being ticked. |
| TG_LastDemotable | Catchall for anything demoted to the end. |
| TG_NewlySpawned | Special tick group that is not actually a tick group. |
| TG_MAX |