FActorComponentTickFunction::ExecuteTickHelper

Conditionally calls ExecuteTickFunc if bRegistered == true and a bunch of other criteria are met

Windows
MacOS
Linux

Syntax

template<typename ExecuteTickLambda>
static void ExecuteTickHelper
(
    UActorComponent * Target,
    bool bTickInEditor,
    float DeltaTime,
    ELevelTick TickType,
    const ExecuteTickLambda & ExecuteTickFunc
)

Remarks

Conditionally calls ExecuteTickFunc if bRegistered == true and a bunch of other criteria are met Helper function for executing tick functions based on the normal conditions previous found in UActorComponent::ConditionalTick

Parameters

Parameter

Description

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

References

Module

Engine

Header

Runtime/Engine/Classes/Engine/EngineBaseTypes.h

Source

Runtime/Engine/Classes/GameFramework/Actor.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback