Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FTimerManager
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetTimer
(
FTimerHandle& InOutHandle, |
TimerManager.h | ||
void SetTimer
(
FTimerHandle& InOutHandle, |
TimerManager.h | ||
void SetTimer
(
FTimerHandle& InOutHandle, |
Version that takes any generic delegate. | TimerManager.h | |
void SetTimer
(
FTimerHandle& InOutHandle, |
Version that takes a dynamic delegate (e.g. for UFunctions). | TimerManager.h | |
void SetTimer
(
FTimerHandle& InOutHandle, |
Version that takes a TFunction | TimerManager.h | |
void SetTimer
(
FTimerHandle& InOutHandle, |
Version that takes any generic delegate. | TimerManager.h | |
void SetTimer
(
FTimerHandle& InOutHandle, |
Version that takes a dynamic delegate (e.g. for UFunctions). | TimerManager.h | |
void SetTimer
(
FTimerHandle& InOutHandle, |
Version that takes a TFunction | TimerManager.h | |
void SetTimer
(
FTimerHandle& InOutHandle, |
Sets a timer to call the given native function at a set interval. | TimerManager.h | |
void SetTimer
(
FTimerHandle& InOutHandle, |
TimerManager.h | ||
void SetTimer
(
FTimerHandle& InOutHandle, |
Sets a timer to call the given native function at a set interval. | TimerManager.h | |
void SetTimer
(
FTimerHandle& InOutHandle, |
TimerManager.h |
SetTimer(FTimerHandle &, float, const FTimerManagerTimerParameters &)
| Name | SetTimer |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/TimerManager.h |
| Include Path | #include "TimerManager.h" |
void SetTimer
(
FTimerHandle & InOutHandle,
float InRate,
const FTimerManagerTimerParameters & InTimerParameters
)
SetTimer(FTimerHandle &, float, bool, float)
| Name | SetTimer |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/TimerManager.h |
| Include Path | #include "TimerManager.h" |
void SetTimer
(
FTimerHandle & InOutHandle,
float InRate,
bool InbLoop,
float InFirstDelay
)
SetTimer(FTimerHandle &, FTimerDelegate const &, float, const FTimerManagerTimerParameters &)
Description
Version that takes any generic delegate.
| Name | SetTimer |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/TimerManager.h |
| Include Path | #include "TimerManager.h" |
void SetTimer
(
FTimerHandle & InOutHandle,
FTimerDelegate const & InDelegate,
float InRate,
const FTimerManagerTimerParameters & InTimerParameters
)
SetTimer(FTimerHandle &, FTimerDynamicDelegate const &, float, const FTimerManagerTimerParameters &)
Description
Version that takes a dynamic delegate (e.g. for UFunctions).
| Name | SetTimer |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/TimerManager.h |
| Include Path | #include "TimerManager.h" |
void SetTimer
(
FTimerHandle & InOutHandle,
FTimerDynamicDelegate const & InDynDelegate,
float InRate,
const FTimerManagerTimerParameters & InTimerParameters
)
SetTimer(FTimerHandle &, TFunction< void(void)> &&, float, const FTimerManagerTimerParameters &)
Description
Version that takes a TFunction
| Name | SetTimer |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/TimerManager.h |
| Include Path | #include "TimerManager.h" |
void SetTimer
(
FTimerHandle & InOutHandle,
TFunction < void> && Callback,
float InRate,
const FTimerManagerTimerParameters & InTimerParameters
)
SetTimer(FTimerHandle &, FTimerDelegate const &, float, bool, float)
Description
Version that takes any generic delegate.
| Name | SetTimer |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/TimerManager.h |
| Include Path | #include "TimerManager.h" |
void SetTimer
(
FTimerHandle & InOutHandle,
FTimerDelegate const & InDelegate,
float InRate,
bool InbLoop,
float InFirstDelay
)
SetTimer(FTimerHandle &, FTimerDynamicDelegate const &, float, bool, float)
Description
Version that takes a dynamic delegate (e.g. for UFunctions).
| Name | SetTimer |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/TimerManager.h |
| Include Path | #include "TimerManager.h" |
void SetTimer
(
FTimerHandle & InOutHandle,
FTimerDynamicDelegate const & InDynDelegate,
float InRate,
bool InbLoop,
float InFirstDelay
)
SetTimer(FTimerHandle &, TFunction< void(void)> &&, float, bool, float)
Description
Version that takes a TFunction
| Name | SetTimer |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/TimerManager.h |
| Include Path | #include "TimerManager.h" |
void SetTimer
(
FTimerHandle & InOutHandle,
TFunction < void> && Callback,
float InRate,
bool InbLoop,
float InFirstDelay
)
SetTimer(FTimerHandle &, UserClass *, typename FTimerDelegate::TMethodPtr< UserClass >, float, const FTimerManagerTimerParameters &)
Description
Sets a timer to call the given native function at a set interval. If a timer is already set for this handle, it will replace the current timer.
| Name | SetTimer |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/TimerManager.h |
| Include Path | #include "TimerManager.h" |
template<class UserClass>
void SetTimer
(
FTimerHandle & InOutHandle,
UserClass * InObj,
typename FTimerDelegate::TMethodPtr< UserClass > InTimerMethod,
float InRate,
const FTimerManagerTimerParameters & InTimerParameters
)
Parameters
| Name | Remarks |
|---|---|
| InOutHandle | If the passed-in handle refers to an existing timer, it will be cleared before the new timer is added. A new handle to the new timer is returned in either case. |
| InObj | Object to call the timer function on. |
| InTimerMethod | Method to call when timer fires. |
| InRate | The amount of time (in seconds) between set and firing. If <= 0.f, clears existing timers. |
| InTimerParameters | The structure with additional timer looping and delay parameters. |
SetTimer(FTimerHandle &, UserClass *, typename FTimerDelegate::TConstMethodPtr< UserClass >, float, const FTimerManagerTimerParameters &)
| Name | SetTimer |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/TimerManager.h |
| Include Path | #include "TimerManager.h" |
template<class UserClass>
void SetTimer
(
FTimerHandle & InOutHandle,
UserClass * InObj,
typename FTimerDelegate::TConstMethodPtr< UserClass > InTimerMethod,
float InRate,
const FTimerManagerTimerParameters & InTimerParameters
)
SetTimer(FTimerHandle &, UserClass *, typename FTimerDelegate::TMethodPtr< UserClass >, float, bool, float)
Description
Sets a timer to call the given native function at a set interval. If a timer is already set for this handle, it will replace the current timer.
| Name | SetTimer |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/TimerManager.h |
| Include Path | #include "TimerManager.h" |
template<class UserClass>
void SetTimer
(
FTimerHandle & InOutHandle,
UserClass * InObj,
typename FTimerDelegate::TMethodPtr< UserClass > InTimerMethod,
float InRate,
bool InbLoop,
float InFirstDelay
)
Parameters
| Name | Remarks |
|---|---|
| InOutHandle | If the passed-in handle refers to an existing timer, it will be cleared before the new timer is added. A new handle to the new timer is returned in either case. |
| InObj | Object to call the timer function on. |
| InTimerMethod | Method to call when timer fires. |
| InRate | The amount of time (in seconds) between set and firing. If <= 0.f, clears existing timers. |
| InbLoop | true to keep firing at Rate intervals, false to fire only once. |
| InFirstDelay | The time (in seconds) for the first iteration of a looping timer. If < 0.f InRate will be used. |
SetTimer(FTimerHandle &, UserClass *, typename FTimerDelegate::TConstMethodPtr< UserClass >, float, bool, float)
| Name | SetTimer |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/TimerManager.h |
| Include Path | #include "TimerManager.h" |
template<class UserClass>
void SetTimer
(
FTimerHandle & InOutHandle,
UserClass * InObj,
typename FTimerDelegate::TConstMethodPtr< UserClass > InTimerMethod,
float InRate,
bool InbLoop,
float InFirstDelay
)