#include <AITypes.h>
◆ FIntervalCountdown()
| FIntervalCountdown::FIntervalCountdown |
( |
const float |
InInterval = -1.f | ) |
|
|
inlineexplicit |
◆ GetElapsedTime()
| float FIntervalCountdown::GetElapsedTime |
( |
| ) |
const |
|
inline |
Note that this function returns meaningful results only if Interval > 0
◆ GetElapsedTimeWithFallback()
| float FIntervalCountdown::GetElapsedTimeWithFallback |
( |
const float |
FallbackValue | ) |
const |
|
inline |
- Returns
- If Interval > 0 returns time accumulated since resetting. Oterwise returns FallbackValue
◆ Reset()
| void FIntervalCountdown::Reset |
( |
| ) |
|
|
inline |
resets the countdown back to Interval
◆ Set()
| void FIntervalCountdown::Set |
( |
const float |
InNewTimeLeft | ) |
|
|
inline |
◆ Tick()
| bool FIntervalCountdown::Tick |
( |
const float |
TimeDelta | ) |
|
|
inline |
◆ Interval
| float FIntervalCountdown::Interval |
◆ TimeLeft
| float FIntervalCountdown::TimeLeft |
The documentation for this struct was generated from the following file:
- Engine/Source/Runtime/AIModule/Classes/AITypes.h