6#include "Math/NumericLimits.h"
7#include "Math/UnrealMathUtility.h"
8#include "Templates/EnableIf.h"
9#include "Templates/UnrealTypeTraits.h"
12template <
typename NumericType>
struct TNumericLimits;
15
16
24
25
32
33
34
35
36
37
66 friend FFrameNumber operator*(
FFrameNumber A,
float Scalar) {
return FFrameNumber(
static_cast<int32>(FMath::Clamp(FMath::FloorToDouble(
double(A.Value) * Scalar), (
double)TNumericLimits<int32>::Min(), (
double)TNumericLimits<int32>::Max()))); }
67 friend FFrameNumber operator/(
FFrameNumber A,
float Scalar) {
return FFrameNumber(
static_cast<int32>(FMath::Clamp(FMath::FloorToDouble(
double(A.Value) / Scalar), (
double)TNumericLimits<int32>::Min(), (
double)TNumericLimits<int32>::Max()))); }
75
76
friend bool operator<=(FFrameNumber A, FFrameNumber B)
FFrameNumber & operator%=(FFrameNumber RHS)
friend FFrameNumber operator-(FFrameNumber A)
FFrameNumber operator--(int32)
friend FFrameNumber operator+(FFrameNumber A, FFrameNumber B)
FFrameNumber & operator--()
friend uint32 GetTypeHash(FFrameNumber A)
FFrameNumber & operator++()
friend bool operator<(FFrameNumber A, FFrameNumber B)
friend bool operator>(FFrameNumber A, FFrameNumber B)
FFrameNumber operator++(int32)
bool Serialize(FArchive &Ar)
constexpr FFrameNumber(T InValue)
friend FFrameNumber operator/(FFrameNumber A, float Scalar)
FFrameNumber & operator-=(FFrameNumber RHS)
friend bool operator==(FFrameNumber A, FFrameNumber B)
friend bool operator>=(FFrameNumber A, FFrameNumber B)
friend FFrameNumber operator*(FFrameNumber A, float Scalar)
friend FFrameNumber operator-(FFrameNumber A, FFrameNumber B)
FFrameNumber & operator+=(FFrameNumber RHS)
friend bool operator!=(FFrameNumber A, FFrameNumber B)
friend FFrameNumber operator%(FFrameNumber A, FFrameNumber B)
static constexpr NumericType Max()
static constexpr NumericType Lowest()
static constexpr NumericType Min()