Navigation
API > API/Runtime > API/Runtime/TimeManagement > API/Runtime/TimeManagement/UTimeSynchronizationSource
Description
Checks to see whether or not the given frame is between the Lower and Upper bounds. It's assumed the bounds are in appropriate order (i.e., LowerBound <= UpperBound, unless they span across a rollover boundary, in which case LowerBound > UpperBound). It's assumed the value to check is also valid (between 0 and the rollover modulus).
| Name | IsFrameBetweenWithRolloverModulus |
| Type | function |
| Header File | /Engine/Source/Runtime/TimeManagement/Public/TimeSynchronizationSource.h |
| Include Path | #include "TimeSynchronizationSource.h" |
static bool IsFrameBetweenWithRolloverModulus
(
const FFrameTime & ToCheck,
const FFrameTime & LowerBound,
const FFrameTime & UpperBound,
const FFrameTime & RolloverModulus
)
Parameters
| Name | Remarks |
|---|---|
| ToCheck | The value to check. |
| LowerBound | The lower bound of times to check. |
| UpperBound | The upper bound of times to check. |
| RolloverModulus | Rollover frame value. |