6#include "Containers/UnrealString.h"
7#include "Math/Vector2D.h"
8#include "Math/Float16.h"
11
12
27
28
29
30
31
35
36
37
38
42
43
44
51
52
53
54
70
71
72
73
79
80
81
82
83
84
87 return Ar << V
.X << V
.Y;
93
115 X = FFloat16(Vector2D.X);
116 Y = FFloat16(Vector2D.Y);
124 X = FFloat16((
float)Vector2D.X);
125 Y = FFloat16((
float)Vector2D.Y);
132 return FString::Printf(
TEXT(
"X=%3.3f Y=%3.3f"), (
float)
X, (
float)
Y );
138 return FVector2f((
float)X,(
float)Y);
143 return FVector2d((
float)X,(
float)Y);
154 SetTruncate(Vector2D.X,Vector2D.Y);
159 SetTruncate((
float)Vector2D.X,(
float)Vector2D.Y);
FFloat16(const FFloat16 &FP16Value)
void SetTruncate(float FP32Value)
FFloat16(float FP32Value)
FORCEINLINE FVector2DHalf(const FVector2d &Vector2D)
FORCEINLINE FVector2DHalf(const FVector2f &Vector2D)
FVector2DHalf & operator=(const FVector2d &Vector2D)
operator FVector2f() const
FORCEINLINE FVector2DHalf()
FORCEINLINE FVector2DHalf(float InX, float InY)
FORCEINLINE FVector2DHalf(const FFloat16 &InX, const FFloat16 &InY)
void SetTruncate(const FVector2f &Vector2D)
FVector2DHalf & operator=(const FVector2f &Vector2D)
void SetTruncate(float InX, float InY)
void SetTruncate(const FVector2d &Vector2D)