FTickFunction::AddPrerequisite

Adds a tick function to the list of prerequisites...in other words, adds the requirement that TargetTickFunction is called before this tick function is

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/EngineBaseTypes.h

Include

#include "Engine/EngineBaseTypes.h"

Source

/Engine/Source/Runtime/Engine/Private/TickTaskManager.cpp

Syntax

void AddPrerequisite
(
    UObject * TargetObject,
    struct FTickFunction & TargetTickFunction
)

Remarks

Adds a tick function to the list of prerequisites...in other words, adds the requirement that TargetTickFunction is called before this tick function is

Parameters

Parameter

Description

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss