Navigation
API > API/Runtime > API/Runtime/AIModule
| Name | FIntervalCountdown |
| Type | struct |
| Header File | /Engine/Source/Runtime/AIModule/Classes/AITypes.h |
| Include Path | #include "AITypes.h" |
Syntax
USTRUCT ()
struct FIntervalCountdown
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FIntervalCountdown
(
const float InInterval |
AITypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Interval | float | AITypes.h |
|
|
| TimeLeft | float | AITypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
float GetElapsedTime() |
Note that this function returns meaningful results only if Interval > 0 | AITypes.h | |
float GetElapsedTimeWithFallback
(
const float FallbackValue |
AITypes.h | ||
void Reset() |
Resets the countdown back to Interval | AITypes.h | |
void Set
(
const float InNewTimeLeft |
AITypes.h | ||
bool Tick
(
const float TimeDelta |
AITypes.h |