Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/MovementComponent.h |
Include |
#include "GameFramework/MovementComponent.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Components/MovementComponent.cpp |
virtual void TickComponent
(
float DeltaTime,
enum ELevelTick TickType,
FActorComponentTickFunction * ThisTickFunction
)
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.
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 |