![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <Tickable.h>
Public Member Functions | |
| ENGINE_API void | QueueTickableObjectForAdd (FTickableObjectBase *InTickable, ETickableTickType NewTickType=ETickableTickType::NewObject) |
| ENGINE_API void | SetTickTypeForTickableObject (FTickableObjectBase *TickableObject, ETickableTickType NewTickType) |
| ENGINE_API void | StartTicking () |
| ENGINE_API void | FinishTicking () |
Implementation struct for internals of ticking, there should be one instance of this for each direct subclass
| void FTickableObjectBase::FTickableStatics::FinishTicking | ( | ) |
Finishes ticking and handle cleanup for entries that were invalidated
| void FTickableObjectBase::FTickableStatics::QueueTickableObjectForAdd | ( | FTickableObjectBase * | InTickable, |
| ETickableTickType | NewTickType = ETickableTickType::NewObject |
||
| ) |
Call from anywhere to lock and add to the new objects list
| void FTickableObjectBase::FTickableStatics::SetTickTypeForTickableObject | ( | FTickableObjectBase * | TickableObject, |
| ETickableTickType | NewTickType | ||
| ) |
Call from anywhere to lock critical sections and set the tick type for an object which could modify both arrays
| void FTickableObjectBase::FTickableStatics::StartTicking | ( | ) |
Call after locking TickableObjectsCritical to process the NewTickableObjects array and prepare for tick
True if any of the tick arrays are being iterated
True if any objects were deleted and this needs cleanup after tick
| TMap<FTickableObjectBase*, ETickableTickType> FTickableObjectBase::FTickableStatics::NewTickableObjects |
Set of objects that have not yet been queried for tick type
| FTransactionallySafeCriticalSection FTickableObjectBase::FTickableStatics::NewTickableObjectsCritical |
Lock for modifying new list, this is automatically acquired by functions below
| TArray<FTickableObjectBase::FTickableObjectEntry> FTickableObjectBase::FTickableStatics::TickableObjects |
List of objects that are fully ticking
| FTransactionallySafeCriticalSection FTickableObjectBase::FTickableStatics::TickableObjectsCritical |
This critical section should be locked during entire tick process