UMovementComponent::TickComponent

Function called every frame on this ActorComponent.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/MovementComponent.h

Include

#include "GameFramework/MovementComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/MovementComponent.cpp

Syntax

virtual void TickComponent
(
    float DeltaTime,
    enum ELevelTick TickType,
    FActorComponentTickFunction * ThisTickFunction
)

Remarks

Function called every frame on this ActorComponent. Override this function to implement custom logic to be executed every frame. Only executes if the component is registered, and also PrimaryComponentTick.bCanEverTick must be set to true.

Parameters

Parameter

Description

DeltaTime

The time since the last tick.

TickType

The kind of tick this is, for example, are we paused, or 'simulating' in the editor

ThisTickFunction

Internal tick function struct that caused this to run