Navigation
API > API/Runtime > API/Runtime/Engine
This is small structure to hold prerequisite tick functions
| Name | FTickPrerequisite |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/EngineBaseTypes.h |
| Include Path | #include "Engine/EngineBaseTypes.h" |
Syntax
USTRUCT ()
struct FTickPrerequisite
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Noop constructor. | Engine/EngineBaseTypes.h | ||
FTickPrerequisite
(
UObject* TargetObject, |
Constructor | Engine/EngineBaseTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PrerequisiteObject | TWeakObjectPtr< class UObject > | 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. | Engine/EngineBaseTypes.h | |
| PrerequisiteTickFunction | FTickFunction * | Pointer to the actual tick function and must be completed prior to our tick running. | Engine/EngineBaseTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTickFunction * Get () |
Return the tick function, if it is still valid. | Engine/EngineBaseTypes.h | |
const FTickFunction * Get () |
Engine/EngineBaseTypes.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FTickPrerequisite& Other |
Equality operator, used to prevent duplicates and allow removal by value. | Engine/EngineBaseTypes.h |