UTimeSynchronizationSource::IsFrameBetweenWithRolloverModulus

Checks to see whether or not the given frame is between the Lower and Upper bounds.

Windows
MacOS
Linux

References

Module

TimeManagement

Header

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

Include

#include "TimeSynchronizationSource.h"

Syntax

static bool IsFrameBetweenWithRolloverModulus
(
    const FFrameTime & ToCheck,
    const FFrameTime & LowerBound,
    const FFrameTime & UpperBound,
    const FFrameTime & RolloverModulus
)

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

Parameter

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.

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