UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TBounds< T > Struct Template Reference

#include <Bounds.h>

Public Types

template<typename U >
using TVector = UE::Math::TVector< U >
 
template<typename U >
using TVector4 = UE::Math::TVector4< U >
 
template<typename U >
using TMatrix = UE::Math::TMatrix< U >
 
using FReal = T
 

Public Member Functions

TBounds< T > & operator= (const TVector< T > &Other)
 
TBounds< T > & operator+= (const TVector< T > &Other)
 
TBounds< T > & operator+= (const TBounds< T > &Other)
 
UE_FORCEINLINE_HINT TBounds< T > operator+ (const TBounds< T > &Other) const
 
bool Intersect (const TBounds< T > &Other) const
 
bool Contains (const TBounds< T > &Other) const
 
DistSqr (const TVector< T > &Point) const
 
UE_FORCEINLINE_HINT TVector< T > GetCenter () const
 
UE_FORCEINLINE_HINT TVector< T > GetExtent () const
 
UE_FORCEINLINE_HINT TVector< T > GetSize () const
 
GetSurfaceArea () const
 
template<typename U >
auto ToAbsolute (const TVector< U > &Offset) const
 
template<typename U >
TBounds< floatToRelative (const TVector< U > &Offset) const
 
TBounds< T > TransformBy (const TMatrix< T > &M) const
 

Public Attributes

TVector4< T > Min = TVector4<T>( TNumericLimits<T>::Max(), TNumericLimits<T>::Max(), TNumericLimits<T>::Max() )
 
TVector4< T > Max = TVector4<T>( -TNumericLimits<T>::Max(), -TNumericLimits<T>::Max(), -TNumericLimits<T>::Max() )
 

Friends

FArchiveoperator<< (FArchive &Ar, TBounds< T > &Bounds)
 

Member Typedef Documentation

◆ FReal

template<typename T >
using TBounds< T >::FReal = T

◆ TMatrix

template<typename T >
template<typename U >
using TBounds< T >::TMatrix = UE::Math::TMatrix<U>

◆ TVector

template<typename T >
template<typename U >
using TBounds< T >::TVector = UE::Math::TVector<U>

◆ TVector4

template<typename T >
template<typename U >
using TBounds< T >::TVector4 = UE::Math::TVector4<U>

Member Function Documentation

◆ Contains()

template<typename T >
bool TBounds< T >::Contains ( const TBounds< T > &  Other) const
inline

◆ DistSqr()

template<typename T >
T TBounds< T >::DistSqr ( const TVector< T > &  Point) const
inline

◆ GetCenter()

template<typename T >
UE_FORCEINLINE_HINT TVector< T > TBounds< T >::GetCenter ( ) const
inline

◆ GetExtent()

template<typename T >
UE_FORCEINLINE_HINT TVector< T > TBounds< T >::GetExtent ( ) const
inline

◆ GetSize()

template<typename T >
UE_FORCEINLINE_HINT TVector< T > TBounds< T >::GetSize ( ) const
inline

◆ GetSurfaceArea()

template<typename T >
T TBounds< T >::GetSurfaceArea ( ) const
inline

◆ Intersect()

template<typename T >
bool TBounds< T >::Intersect ( const TBounds< T > &  Other) const
inline

◆ operator+()

template<typename T >
UE_FORCEINLINE_HINT TBounds< T > TBounds< T >::operator+ ( const TBounds< T > &  Other) const
inline

◆ operator+=() [1/2]

template<typename T >
TBounds< T > & TBounds< T >::operator+= ( const TBounds< T > &  Other)
inline

◆ operator+=() [2/2]

template<typename T >
TBounds< T > & TBounds< T >::operator+= ( const TVector< T > &  Other)
inline

◆ operator=()

template<typename T >
TBounds< T > & TBounds< T >::operator= ( const TVector< T > &  Other)
inline

◆ ToAbsolute()

template<typename T >
template<typename U >
auto TBounds< T >::ToAbsolute ( const TVector< U > &  Offset) const
inline

◆ ToRelative()

template<typename T >
template<typename U >
TBounds< float > TBounds< T >::ToRelative ( const TVector< U > &  Offset) const
inline

◆ TransformBy()

template<typename T >
TBounds< T > TBounds< T >::TransformBy ( const TMatrix< T > &  M) const
inline

Friends And Related Symbol Documentation

◆ operator<<

template<typename T >
FArchive & operator<< ( FArchive Ar,
TBounds< T > &  Bounds 
)
friend

Member Data Documentation

◆ Max

template<typename T >
TVector4<T> TBounds< T >::Max = TVector4<T>( -TNumericLimits<T>::Max(), -TNumericLimits<T>::Max(), -TNumericLimits<T>::Max() )

◆ Min

template<typename T >
TVector4<T> TBounds< T >::Min = TVector4<T>( TNumericLimits<T>::Max(), TNumericLimits<T>::Max(), TNumericLimits<T>::Max() )

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