Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
Vector.h File Reference
+ Include dependency graph for Vector.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  UE::Math::TVectorConstInit
 
struct  UE::Math::TVector< T >
 
struct  TCanBulkSerialize< FVector3f >
 
struct  TIsPODType< FVector3f >
 
struct  TIsUECoreVariant< FVector3f >
 
struct  TCanBulkSerialize< FVector3d >
 
struct  TIsPODType< FVector3d >
 
struct  TIsUECoreVariant< FVector3d >
 

Namespaces

namespace  UE
 
namespace  UE::Math
 
namespace  UE::LWC
 

Functions

void UE::Math::operator<< (FStructuredArchive::FSlot Slot, TVector< float > &V)
 
void UE::Math::operator<< (FStructuredArchive::FSlot Slot, TVector< double > &V)
 
template<typename T , typename T2 , TEMPLATE_REQUIRES(std::is_arithmetic< T2 >::value) >
FORCEINLINE TVector< TUE::Math::operator* (T2 Scale, const TVector< T > &V)
 
template<typename T >
FORCEINLINE uint32 UE::Math::GetTypeHash (const TVector< T > &Vector)
 
 DECLARE_INTRINSIC_TYPE_LAYOUT (FVector3f)
 
 DECLARE_INTRINSIC_TYPE_LAYOUT (FVector3d)
 
template<typename T >
FORCEINLINE UE::Math::TVector< TClampVector (const UE::Math::TVector< T > &V, const UE::Math::TVector< T > &Min, const UE::Math::TVector< T > &Max)
 
template<typename T >
static FORCEINLINE UE::Math::TVector< TINTEL_ORDER_VECTOR (UE::Math::TVector< T > v)
 
template<typename T , typename U >
FORCEINLINE T ComputeSquaredDistanceFromBoxToPoint (const UE::Math::TVector< T > &Mins, const UE::Math::TVector< T > &Maxs, const UE::Math::TVector< U > &Point)
 
FORCEINLINE FVector3f UE::LWC::NarrowWorldPositionChecked (const FVector &WorldPosition)
 
FORCEINLINE FVector3f UE::LWC::NarrowWorldPositionChecked (const FVector::FReal InX, const FVector::FReal InY, const FVector::FReal InZ)
 

Variables

constexpr FVector::FReal UE::LWC::DefaultFloatPrecision = 1./16.
 

Function Documentation

◆ ClampVector()

template<typename T >
FORCEINLINE UE::Math::TVector< T > ClampVector ( const UE::Math::TVector< T > & V,
const UE::Math::TVector< T > & Min,
const UE::Math::TVector< T > & Max )

Component-wise clamp for TVector

Definition at line 2516 of file Vector.h.

◆ ComputeSquaredDistanceFromBoxToPoint()

template<typename T , typename U >
FORCEINLINE T ComputeSquaredDistanceFromBoxToPoint ( const UE::Math::TVector< T > & Mins,
const UE::Math::TVector< T > & Maxs,
const UE::Math::TVector< U > & Point )

Util to calculate distance from a point to a bounding box

Parameters
Mins3D Point defining the lower values of the axis of the bound box
Max3D Point defining the lower values of the axis of the bound box
Point3D position of interest
Returns
the distance from the Point to the bounding box.

Definition at line 2545 of file Vector.h.

◆ DECLARE_INTRINSIC_TYPE_LAYOUT() [1/2]

DECLARE_INTRINSIC_TYPE_LAYOUT ( FVector3d )

◆ DECLARE_INTRINSIC_TYPE_LAYOUT() [2/2]

DECLARE_INTRINSIC_TYPE_LAYOUT ( FVector3f )

◆ INTEL_ORDER_VECTOR()

template<typename T >
static FORCEINLINE UE::Math::TVector< T > INTEL_ORDER_VECTOR ( UE::Math::TVector< T > v)
static

Definition at line 2529 of file Vector.h.