UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Chaos::TVector< T, 3 > Class Template Reference

#include <Vector.h>

Public Types

using FElement = T
 

Public Member Functions

PRAGMA_DISABLE_DEPRECATION_WARNINGS TVector (const TVector &)=default
 
TVectoroperator= (const TVector &)=default
 
PRAGMA_ENABLE_DEPRECATION_WARNINGS FORCEINLINE TVector ()=default
 
FORCEINLINE TVector (T InX)
 
FORCEINLINE TVector (T InX, T InY, T InZ)
 
FORCEINLINE int32 Num () const
 
FORCEINLINE bool operator== (const TVector< T, 3 > &Other) const
 
FORCEINLINE TVector (const UE::Math::TVector< FReal > &Other)
 
template<class T2 >
FORCEINLINE TVector (const TVector< T2, 3 > &Other)
 
template<class T2 >
FORCEINLINE TVector< T, 3 > & operator= (const TVector< T2, 3 > &Other)
 
FORCEINLINESize () const
 
FORCEINLINEProduct () const
 
FORCEINLINESizeSquared () const
 
FORCEINLINEMin () const
 
FORCEINLINEMax () const
 
Mid () const
 
FORCEINLINE TVector< T, 3 > ComponentwiseMin (const TVector< T, 3 > &Other) const
 
FORCEINLINE TVector< T, 3 > ComponentwiseMax (const TVector< T, 3 > &Other) const
 
TVector< T, 3 > GetSafeNormal () const
 
FORCEINLINESafeNormalize ()
 
FORCEINLINE bool ContainsNaN () const
 
PRAGMA_DISABLE_DEPRECATION_WARNINGS FORCEINLINEoperator[] (int32 Idx) const
 
FORCEINLINE T & operator[] (int32 Idx)
 
PRAGMA_ENABLE_DEPRECATION_WARNINGS FORCEINLINE TVector< T, 3 > operator- () const
 
FORCEINLINE TVector< T, 3 > operator* (const TVector< T, 3 > &Other) const
 
FORCEINLINE TVector< T, 3 > operator/ (const TVector< T, 3 > &Other) const
 
FORCEINLINE TVector< T, 3 > operator/ (const T Scalar) const
 
FORCEINLINE TVector< T, 3 > operator+ (const TVector< T, 3 > &Other) const
 
FORCEINLINE TVector< T, 3 > operator+ (const T Scalar) const
 
FORCEINLINE TVector< T, 3 > operator- (const TVector< T, 3 > &Other) const
 
FORCEINLINE TVector< T, 3 > operator- (const T Scalar) const
 
FORCEINLINE TVector< T, 3 > & operator+= (const TVector< T, 3 > &Other)
 
FORCEINLINE TVector< T, 3 > & operator-= (const TVector< T, 3 > &Other)
 
FORCEINLINE TVector< T, 3 > & operator/= (const TVector< T, 3 > &Other)
 
FORCEINLINE TVector< T, 3 > operator* (const T S) const
 
FORCEINLINE TVector< T, 3 > & operator*= (const T S)
 

Static Public Member Functions

static FORCEINLINE TVector< T, 3 > AxisVector (const int32 Axis)
 

Public Attributes

union Chaos::TVector< T, 3 >:: { ... }  
 

Member Typedef Documentation

◆ FElement

template<class T >
using Chaos::TVector< T, 3 >::FElement = T

Constructor & Destructor Documentation

◆ TVector() [1/6]

template<class T >
PRAGMA_DISABLE_DEPRECATION_WARNINGS Chaos::TVector< T, 3 >::TVector ( const TVector< T, 3 > &  )
default

◆ TVector() [2/6]

template<class T >
PRAGMA_ENABLE_DEPRECATION_WARNINGS FORCEINLINE Chaos::TVector< T, 3 >::TVector ( )
default

◆ TVector() [3/6]

template<class T >
FORCEINLINE Chaos::TVector< T, 3 >::TVector ( InX)
inlineexplicit

◆ TVector() [4/6]

template<class T >
FORCEINLINE Chaos::TVector< T, 3 >::TVector ( InX,
InY,
InZ 
)
inline

◆ TVector() [5/6]

template<class T >
FORCEINLINE Chaos::TVector< T, 3 >::TVector ( const UE::Math::TVector< FReal > &  Other)
inline

◆ TVector() [6/6]

template<class T >
template<class T2 >
FORCEINLINE Chaos::TVector< T, 3 >::TVector ( const TVector< T2, 3 > &  Other)
inline

Member Function Documentation

◆ AxisVector()

template<class T >
static FORCEINLINE TVector< T, 3 > Chaos::TVector< T, 3 >::AxisVector ( const int32  Axis)
inlinestatic

◆ ComponentwiseMax()

template<class T >
FORCEINLINE TVector< T, 3 > Chaos::TVector< T, 3 >::ComponentwiseMax ( const TVector< T, 3 > &  Other) const
inline

◆ ComponentwiseMin()

template<class T >
FORCEINLINE TVector< T, 3 > Chaos::TVector< T, 3 >::ComponentwiseMin ( const TVector< T, 3 > &  Other) const
inline

◆ ContainsNaN()

template<class T >
FORCEINLINE bool Chaos::TVector< T, 3 >::ContainsNaN ( ) const
inline

◆ GetSafeNormal()

template<class T >
TVector< T, 3 > Chaos::TVector< T, 3 >::GetSafeNormal ( ) const
inline

◆ Max()

template<class T >
FORCEINLINE T Chaos::TVector< T, 3 >::Max ( ) const
inline

◆ Mid()

template<class T >
T Chaos::TVector< T, 3 >::Mid ( ) const
inline

◆ Min()

template<class T >
FORCEINLINE T Chaos::TVector< T, 3 >::Min ( ) const
inline

◆ Num()

template<class T >
FORCEINLINE int32 Chaos::TVector< T, 3 >::Num ( ) const
inline

◆ operator*() [1/2]

template<class T >
FORCEINLINE TVector< T, 3 > Chaos::TVector< T, 3 >::operator* ( const T  S) const
inline

◆ operator*() [2/2]

template<class T >
FORCEINLINE TVector< T, 3 > Chaos::TVector< T, 3 >::operator* ( const TVector< T, 3 > &  Other) const
inline

◆ operator*=()

template<class T >
FORCEINLINE TVector< T, 3 > & Chaos::TVector< T, 3 >::operator*= ( const T  S)
inline

◆ operator+() [1/2]

template<class T >
FORCEINLINE TVector< T, 3 > Chaos::TVector< T, 3 >::operator+ ( const T  Scalar) const
inline

◆ operator+() [2/2]

template<class T >
FORCEINLINE TVector< T, 3 > Chaos::TVector< T, 3 >::operator+ ( const TVector< T, 3 > &  Other) const
inline

◆ operator+=()

template<class T >
FORCEINLINE TVector< T, 3 > & Chaos::TVector< T, 3 >::operator+= ( const TVector< T, 3 > &  Other)
inline

◆ operator-() [1/3]

template<class T >
PRAGMA_ENABLE_DEPRECATION_WARNINGS FORCEINLINE TVector< T, 3 > Chaos::TVector< T, 3 >::operator- ( ) const
inline

◆ operator-() [2/3]

template<class T >
FORCEINLINE TVector< T, 3 > Chaos::TVector< T, 3 >::operator- ( const T  Scalar) const
inline

◆ operator-() [3/3]

template<class T >
FORCEINLINE TVector< T, 3 > Chaos::TVector< T, 3 >::operator- ( const TVector< T, 3 > &  Other) const
inline

◆ operator-=()

template<class T >
FORCEINLINE TVector< T, 3 > & Chaos::TVector< T, 3 >::operator-= ( const TVector< T, 3 > &  Other)
inline

◆ operator/() [1/2]

template<class T >
FORCEINLINE TVector< T, 3 > Chaos::TVector< T, 3 >::operator/ ( const T  Scalar) const
inline

◆ operator/() [2/2]

template<class T >
FORCEINLINE TVector< T, 3 > Chaos::TVector< T, 3 >::operator/ ( const TVector< T, 3 > &  Other) const
inline

◆ operator/=()

template<class T >
FORCEINLINE TVector< T, 3 > & Chaos::TVector< T, 3 >::operator/= ( const TVector< T, 3 > &  Other)
inline

◆ operator=() [1/2]

template<class T >
TVector & Chaos::TVector< T, 3 >::operator= ( const TVector< T, 3 > &  )
default

◆ operator=() [2/2]

template<class T >
template<class T2 >
FORCEINLINE TVector< T, 3 > & Chaos::TVector< T, 3 >::operator= ( const TVector< T2, 3 > &  Other)
inline

◆ operator==()

template<class T >
FORCEINLINE bool Chaos::TVector< T, 3 >::operator== ( const TVector< T, 3 > &  Other) const
inline

◆ operator[]() [1/2]

template<class T >
FORCEINLINE T & Chaos::TVector< T, 3 >::operator[] ( int32  Idx)
inline

◆ operator[]() [2/2]

template<class T >
PRAGMA_DISABLE_DEPRECATION_WARNINGS FORCEINLINE T Chaos::TVector< T, 3 >::operator[] ( int32  Idx) const
inline

◆ Product()

template<class T >
FORCEINLINE T Chaos::TVector< T, 3 >::Product ( ) const
inline

◆ SafeNormalize()

template<class T >
FORCEINLINE T Chaos::TVector< T, 3 >::SafeNormalize ( )
inline

◆ Size()

template<class T >
FORCEINLINE T Chaos::TVector< T, 3 >::Size ( ) const
inline

◆ SizeSquared()

template<class T >
FORCEINLINE T Chaos::TVector< T, 3 >::SizeSquared ( ) const
inline

Member Data Documentation

◆ []

union Chaos::TVector< T, 3 > { ... } Chaos::TVector< T, 3 >

◆ X

template<class T >
T Chaos::TVector< T, 3 >::X

◆ XYZ

template<class T >
T Chaos::TVector< T, 3 >::XYZ[3]

◆ Y

template<class T >
T Chaos::TVector< T, 3 >::Y

◆ Z

template<class T >
T Chaos::TVector< T, 3 >::Z

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