![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <EngineBaseTypes.h>
Public Member Functions | |
| FTickPrerequisite () | |
| FTickPrerequisite (UObject *TargetObject, struct FTickFunction &TargetTickFunction) | |
| bool | operator== (const FTickPrerequisite &Other) const |
| struct FTickFunction * | Get () |
| const struct FTickFunction * | Get () const |
Public Attributes | |
| TWeakObjectPtr< class UObject > | PrerequisiteObject |
| struct FTickFunction * | PrerequisiteTickFunction |
This is small structure to hold prerequisite tick functions
|
inline |
Noop constructor.
|
inline |
Constructor
| TargetObject | - UObject containing this tick function. Only used to verify that the other pointer is still usable |
| TargetTickFunction | - Actual tick function to use as a prerequisite |
|
inline |
Return the tick function, if it is still valid. Can be null if the tick function was null or the containing UObject has been garbage collected.
|
inline |
|
inline |
Equality operator, used to prevent duplicates and allow removal by value.
| TWeakObjectPtr<class UObject> FTickPrerequisite::PrerequisiteObject |
Tick functions live inside of UObjects, so we need a separate weak pointer to the UObject solely for the purpose of determining if PrerequisiteTickFunction is still valid.
| struct FTickFunction* FTickPrerequisite::PrerequisiteTickFunction |
Pointer to the actual tick function and must be completed prior to our tick running.