Navigation
Unreal Engine C++ API Reference > Runtime > TimeManagement > UTimeSynchronizationSource
References
Module | TimeManagement |
Header | /Engine/Source/Runtime/TimeManagement/Public/TimeSynchronizationSource.h |
Include | #include "TimeSynchronizationSource.h" |
static bool IsFrameBetweenWithRolloverModulus
&40;
const FFrameTime & ToCheck,
const FFrameTime & LowerBound,
const FFrameTime & UpperBound,
const FFrameTime & RolloverModulus
&41;
Remarks
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).
Parameters
Name | Description |
---|---|
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. |