Ark Server API (ASA) - Wiki
|
#include <Vector2DHalf.h>
Public Member Functions | |
FORCEINLINE | FVector2DHalf () |
FORCEINLINE | FVector2DHalf (const FFloat16 &InX, const FFloat16 &InY) |
FORCEINLINE | FVector2DHalf (float InX, float InY) |
FORCEINLINE | FVector2DHalf (const FVector2f &Vector2D) |
FORCEINLINE | FVector2DHalf (const FVector2d &Vector2D) |
FVector2DHalf & | operator= (const FVector2f &Vector2D) |
FVector2DHalf & | operator= (const FVector2d &Vector2D) |
operator FVector2f () const | |
operator FVector2d () const | |
void | SetTruncate (float InX, float InY) |
void | SetTruncate (const FVector2f &Vector2D) |
void | SetTruncate (const FVector2d &Vector2D) |
FString | ToString () const |
Public Attributes | |
FFloat16 | X |
FFloat16 | Y |
Friends | |
FArchive & | operator<< (FArchive &Ar, FVector2DHalf &V) |
Structure for two dimensional vectors with half floating point precision.
Definition at line 13 of file Vector2DHalf.h.
|
inline |
Default Constructor (no initialization).
Definition at line 24 of file Vector2DHalf.h.
FORCEINLINE FVector2DHalf::FVector2DHalf | ( | const FFloat16 & | InX, |
const FFloat16 & | InY ) |
Constructor.
InX half float X value Iny half float Y value
Definition at line 95 of file Vector2DHalf.h.
FORCEINLINE FVector2DHalf::FVector2DHalf | ( | float | InX, |
float | InY ) |
Constructor
InX float X value Iny float Y value
Definition at line 100 of file Vector2DHalf.h.
FORCEINLINE FVector2DHalf::FVector2DHalf | ( | const FVector2f & | Vector2D | ) |
Constructor
Vector2D float vector
Definition at line 104 of file Vector2DHalf.h.
FORCEINLINE FVector2DHalf::FVector2DHalf | ( | const FVector2d & | Vector2D | ) |
Definition at line 109 of file Vector2DHalf.h.
FORCEINLINE FVector2DHalf::operator FVector2d | ( | ) | const |
Definition at line 141 of file Vector2DHalf.h.
FORCEINLINE FVector2DHalf::operator FVector2f | ( | ) | const |
Implicit conversion operator for conversion to FVector2D.
Definition at line 136 of file Vector2DHalf.h.
FORCEINLINE FVector2DHalf & FVector2DHalf::operator= | ( | const FVector2d & | Vector2D | ) |
Definition at line 122 of file Vector2DHalf.h.
FORCEINLINE FVector2DHalf & FVector2DHalf::operator= | ( | const FVector2f & | Vector2D | ) |
Assignment operator.
Vector2D | The value to assign. |
Definition at line 113 of file Vector2DHalf.h.
FORCEINLINE void FVector2DHalf::SetTruncate | ( | const FVector2d & | Vector2D | ) |
Definition at line 157 of file Vector2DHalf.h.
FORCEINLINE void FVector2DHalf::SetTruncate | ( | const FVector2f & | Vector2D | ) |
Definition at line 152 of file Vector2DHalf.h.
FORCEINLINE void FVector2DHalf::SetTruncate | ( | float | InX, |
float | InY ) |
Conversion with backwards-compatible Truncate rounding mode (default is RTNE)
Definition at line 146 of file Vector2DHalf.h.
FORCEINLINE FString FVector2DHalf::ToString | ( | ) | const |
Get a textual representation of the vector.
Definition at line 130 of file Vector2DHalf.h.
|
friend |
Serializes the FVector2DHalf.
Ar | Reference to the serialization archive. |
V | Reference to the FVector2DHalf being serialized. |
Definition at line 85 of file Vector2DHalf.h.
FFloat16 FVector2DHalf::X |
Holds the vector's X-component.
Definition at line 16 of file Vector2DHalf.h.
FFloat16 FVector2DHalf::Y |
Holds the vector's Y-component.
Definition at line 19 of file Vector2DHalf.h.