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