This is small structure to hold prerequisite tick functions 更多...
#include <EngineBaseTypes.h>
Public 成员函数 | |
| FTickPrerequisite () | |
| Noop constructor. | |
| FTickPrerequisite (UObject *TargetObject, struct FTickFunction &TargetTickFunction) | |
| Constructor 更多... | |
| struct FTickFunction * | Get () |
| Return the tick function, if it is still valid. 更多... | |
| bool | operator== (const FTickPrerequisite &Other) const |
| Equality operator, used to prevent duplicates and allow removal by value. | |
Public 属性 | |
| TWeakObjectPtr< class UObject > | 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 * | PrerequisiteTickFunction |
| Pointer to the actual tick function and must be completed prior to our tick running. | |
This is small structure to hold prerequisite tick functions
|
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.