Structure for two dimensional vectors with half floating point precision. 更多...
#include <Vector2DHalf.h>
Public 成员函数 | |
| FORCEINLINE | FVector2DHalf () |
| Default Constructor (no initialization). | |
| FORCEINLINE | FVector2DHalf (const FFloat16 &InX, const FFloat16 &InY) |
| Constructor. 更多... | |
| FORCEINLINE | FVector2DHalf (const FVector2D &Vector2D) |
| Constructor 更多... | |
| FORCEINLINE | FVector2DHalf (float InX, float InY) |
| Constructor 更多... | |
| operator FVector2D () const | |
| Implicit conversion operator for conversion to FVector2D. | |
| FVector2DHalf & | operator= (const FVector2D &Vector2D) |
| Assignment operator. 更多... | |
| FString | ToString () const |
| Get a textual representation of the vector. 更多... | |
Public 属性 | |
| FFloat16 | X |
| Holds the vector's X-component. | |
| FFloat16 | Y |
| Holds the vector's Y-component. | |
友元 | |
| FArchive & | operator<< (FArchive &Ar, FVector2DHalf &V) |
| Serializes the FVector2DHalf. 更多... | |
Structure for two dimensional vectors with half floating point precision.
Constructor.
InX half float X value Iny half float Y value
| FORCEINLINE FVector2DHalf::FVector2DHalf | ( | float | InX, |
| float | InY | ||
| ) |
Constructor
InX float X value Iny float Y value
| FORCEINLINE FVector2DHalf::FVector2DHalf | ( | const FVector2D & | Vector2D | ) |
Constructor
Vector2D float vector
| FORCEINLINE FVector2DHalf & FVector2DHalf::operator= | ( | const FVector2D & | Vector2D | ) |
Assignment operator.
| Vector2D | The value to assign. |
| FORCEINLINE FString FVector2DHalf::ToString | ( | ) | const |
Get a textual representation of the vector.
|
friend |
Serializes the FVector2DHalf.
| Ar | Reference to the serialization archive. |
| V | Reference to the FVector2DHalf being serialized. |