Navigation
API > API/Runtime > API/Runtime/TimeManagement > API/Runtime/TimeManagement/UTimeSynchronizationSource
Description
Adds an integer offset (representing frames) to the given FrameTime. It's expected the offset's magnitude will be less than the rollover modulus.
| Name | AddOffsetWithRolloverModulus |
| Type | function |
| Header File | /Engine/Source/Runtime/TimeManagement/Public/TimeSynchronizationSource.h |
| Include Path | #include "TimeSynchronizationSource.h" |
static FFrameTime AddOffsetWithRolloverModulus
(
const FFrameTime & FrameTime,
const int32 Offset,
const FFrameTime & RolloverModulus
)
Parameters
| Name | Remarks |
|---|---|
| FrameTime | The base frame time. |
| Offset | The offset to add. |
| RolloverModulus | Rollover frame value. |