![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <EngineBaseTypes.h>
Inheritance diagram for FActorComponentTickFunction:Static Public Member Functions | |
| template<typename ExecuteTickLambda > | |
| static void | ExecuteTickHelper (UActorComponent *Target, bool bTickInEditor, float DeltaTime, ELevelTick TickType, const ExecuteTickLambda &ExecuteTickFunc) |
Public Attributes | |
| class UActorComponent * | Target |
Public Attributes inherited from FTickFunction | |
| TEnumAsByte< enum ETickingGroup > | TickGroup |
| TEnumAsByte< enum ETickingGroup > | EndTickGroup |
| uint8 | bTickEvenWhenPaused:1 |
| uint8 | bCanEverTick:1 |
| uint8 | bStartWithTickEnabled:1 |
| uint8 | bAllowTickOnDedicatedServer:1 |
| uint8 | bAllowTickBatching:1 |
| uint8 | bHighPriority:1 |
| uint8 | bRunOnAnyThread:1 |
| uint8 | bRunTransactionally:1 |
| uint8 | bDispatchManually: 1 |
Tick function that calls UActorComponent::ConditionalTick
Function to give a 'context' for this tick, used for grouped active tick reporting
Reimplemented from FTickFunction.
|
overridevirtual |
Abstract function to describe this tick. Used to print messages about illegal cycles in the dependency graph
Reimplemented from FTickFunction.
|
overridevirtual |
Abstract function actually execute the tick.
| DeltaTime | - frame time to advance, in seconds |
| TickType | - kind of tick for this frame |
| CurrentThread | - thread we are executing on, useful to pass along as new tasks are created |
| MyCompletionGraphEvent | - completion event for this task. Useful for holding the completetion of this task until certain child tasks are complete. |
Reimplemented from FTickFunction.
|
static |
Conditionally calls ExecuteTickFunc if registered and a bunch of other criteria are met
| Target | - the actor component we are ticking |
| bTickInEditor | - whether the target wants to tick in the editor |
| DeltaTime | - The time since the last tick. |
| TickType | - Type of tick that we are running |
| ExecuteTickFunc | - the lambda that ultimately calls tick on the actor component |
Helper function for executing component tick functions using the same conditions as FActorTickFunction
| class UActorComponent* FActorComponentTickFunction::Target |
AActor component that is the target of this tick