UTimeSynchronizationSource::AddOffsetWithRolloverModulus

Adds an integer offset (representing frames) to the given FrameTime.

Windows
MacOS
Linux

References

Module

TimeManagement

Header

/Engine/Source/Runtime/TimeManagement/Public/TimeSynchronizationSource.h

Include

#include "TimeSynchronizationSource.h"

Syntax

static FFrameTime AddOffsetWithRolloverModulus
(
    const FFrameTime & FrameTime,
    const int32 Offset,
    const FFrameTime & RolloverModulus
)

Remarks

Adds an integer offset (representing frames) to the given FrameTime. It's expected the offset's magnitude will be less than the rollover modulus.

Parameters

Parameter

Description

FrameTime

The base frame time.

Offset

The offset to add.

RolloverModulus

Rollover frame value.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss