BestSignedDifference

Return the value of Max/2 <= Value-Reference+some_integer*Max < Max/2.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Net/UnrealNetwork.h

Include

#include "Net/UnrealNetwork.h"

Syntax

int32 BestSignedDifference
(
    int32 Value,
    int32 Reference,
    int32 Max
)

Remarks

Return the value of Max/2 <= Value-Reference+some_integer*Max < Max/2.

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