Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/EngineBaseTypes.h |
Include |
#include "Engine/EngineBaseTypes.h" |
enum ETickingGroup
{
TG_PrePhysics,
TG_StartPhysics,
TG_DuringPhysics,
TG_EndPhysics,
TG_PostPhysics,
TG_PostUpdateWork,
TG_LastDemotable,
TG_NewlySpawned,
TG_MAX,
}
Name |
Description |
---|---|
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 |
Determines which ticking group a tick function belongs to.