UActorComponent::SetupActorComponentTickFunction

Set up a tick function for a component in the standard way.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/ActorComponent.h

Include

#include "Components/ActorComponent.h"

Source

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

Syntax

bool SetupActorComponentTickFunction
(
    struct FTickFunction * TickFunction
)

Remarks

Set up a tick function for a component in the standard way. Tick after the actor. Don't tick if the actor is static, or if the actor is a template or if this is a "NeverTick" component. I tick while paused if only if my owner does.

Returns

true if this component met the criteria for actually being ticked.

Parameters

Parameter

Description

TickFunction

structure holding the specific tick function

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