Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FVector2DHalf Struct Reference

#include <Vector2DHalf.h>

+ Collaboration diagram for FVector2DHalf:

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)
 
FVector2DHalfoperator= (const FVector2f &Vector2D)
 
FVector2DHalfoperator= (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

FArchiveoperator<< (FArchive &Ar, FVector2DHalf &V)
 

Detailed Description

Structure for two dimensional vectors with half floating point precision.

Definition at line 13 of file Vector2DHalf.h.

Constructor & Destructor Documentation

◆ FVector2DHalf() [1/5]

FORCEINLINE FVector2DHalf::FVector2DHalf ( )
inline

Default Constructor (no initialization).

Definition at line 24 of file Vector2DHalf.h.

◆ FVector2DHalf() [2/5]

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.

+ Here is the call graph for this function:

◆ FVector2DHalf() [3/5]

FORCEINLINE FVector2DHalf::FVector2DHalf ( float InX,
float InY )

Constructor

InX float X value Iny float Y value

Definition at line 100 of file Vector2DHalf.h.

+ Here is the call graph for this function:

◆ FVector2DHalf() [4/5]

FORCEINLINE FVector2DHalf::FVector2DHalf ( const FVector2f & Vector2D)

Constructor

Vector2D float vector

Definition at line 104 of file Vector2DHalf.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FVector2DHalf() [5/5]

FORCEINLINE FVector2DHalf::FVector2DHalf ( const FVector2d & Vector2D)

Definition at line 109 of file Vector2DHalf.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Function Documentation

◆ operator FVector2d()

FORCEINLINE FVector2DHalf::operator FVector2d ( ) const

Definition at line 141 of file Vector2DHalf.h.

◆ operator FVector2f()

FORCEINLINE FVector2DHalf::operator FVector2f ( ) const

Implicit conversion operator for conversion to FVector2D.

Definition at line 136 of file Vector2DHalf.h.

◆ operator=() [1/2]

FORCEINLINE FVector2DHalf & FVector2DHalf::operator= ( const FVector2d & Vector2D)

Definition at line 122 of file Vector2DHalf.h.

◆ operator=() [2/2]

FORCEINLINE FVector2DHalf & FVector2DHalf::operator= ( const FVector2f & Vector2D)

Assignment operator.

Parameters
Vector2DThe value to assign.

Definition at line 113 of file Vector2DHalf.h.

◆ SetTruncate() [1/3]

FORCEINLINE void FVector2DHalf::SetTruncate ( const FVector2d & Vector2D)

Definition at line 157 of file Vector2DHalf.h.

◆ SetTruncate() [2/3]

FORCEINLINE void FVector2DHalf::SetTruncate ( const FVector2f & Vector2D)

Definition at line 152 of file Vector2DHalf.h.

◆ SetTruncate() [3/3]

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.

+ Here is the call graph for this function:

◆ ToString()

FORCEINLINE FString FVector2DHalf::ToString ( ) const

Get a textual representation of the vector.

Returns
Text describing the vector.

Definition at line 130 of file Vector2DHalf.h.

Friends And Related Symbol Documentation

◆ operator<<

FArchive & operator<< ( FArchive & Ar,
FVector2DHalf & V )
friend

Serializes the FVector2DHalf.

Parameters
ArReference to the serialization archive.
VReference to the FVector2DHalf being serialized.
Returns
Reference to the Archive after serialization.

Definition at line 85 of file Vector2DHalf.h.

Member Data Documentation

◆ X

FFloat16 FVector2DHalf::X

Holds the vector's X-component.

Definition at line 16 of file Vector2DHalf.h.

◆ Y

FFloat16 FVector2DHalf::Y

Holds the vector's Y-component.

Definition at line 19 of file Vector2DHalf.h.


The documentation for this struct was generated from the following file: