UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Matrix.h File Reference
#include "CoreTypes.h"
#include "HAL/UnrealMemory.h"
#include "Math/UnrealMathUtility.h"
#include "Containers/UnrealString.h"
#include "Math/MathFwd.h"
#include "Math/Vector.h"
#include "Math/Vector4.h"
#include "Math/Plane.h"
#include "Math/Rotator.h"
#include "Math/Axis.h"
#include "Misc/LargeWorldCoordinatesSerializer.h"
#include "UObject/ObjectVersion.h"
#include <type_traits>
#include "Math/Matrix.inl"

Go to the source code of this file.

Classes

struct  UE::Math::TMatrix< T >
 
struct  UE::Math::TBasisVectorMatrix< T >
 
struct  UE::Math::TLookFromMatrix< T >
 
struct  UE::Math::TLookAtMatrix< T >
 

Namespaces

namespace  UE
 
namespace  UE::Math
 

Macros

#define UE_DECLARE_MATRIX_TYPE_TRAITS(TYPE)
 

Functions

 UE_DECLARE_LWC_TYPE (Quat, 4)
 
FArchiveUE::Math::operator<< (FArchive &Ar, TMatrix< float > &M)
 
FArchiveUE::Math::operator<< (FArchive &Ar, TMatrix< double > &M)
 
 UE_DECLARE_LWC_TYPE (Matrix, 44)
 
 UE_DECLARE_LWC_TYPE (BasisVectorMatrix, 44)
 
 UE_DECLARE_LWC_TYPE (LookFromMatrix, 44)
 
 UE_DECLARE_LWC_TYPE (LookAtMatrix, 44)
 
 UE_DECLARE_MATRIX_TYPE_TRAITS (Matrix)
 
 UE_DECLARE_MATRIX_TYPE_TRAITS (BasisVectorMatrix)
 
 UE_DECLARE_MATRIX_TYPE_TRAITS (LookFromMatrix)
 
 UE_DECLARE_MATRIX_TYPE_TRAITS (LookAtMatrix)
 

Macro Definition Documentation

◆ UE_DECLARE_MATRIX_TYPE_TRAITS

#define UE_DECLARE_MATRIX_TYPE_TRAITS (   TYPE)
Value:
template<> struct TIsPODType<F##TYPE##44f> { enum { Value = true }; }; \
template<> struct TIsUECoreVariant<F##TYPE##44f> { enum { Value = true }; }; \
template<> struct TIsPODType<F##TYPE##44d> { enum { Value = true }; }; \
template<> struct TIsUECoreVariant<F##TYPE##44d> { enum { Value = true }; }; \
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition IsPODType.h:12
@ Value
Definition IsPODType.h:13
Definition IsUECoreType.h:19
@ Value
Definition IsUECoreType.h:20

Function Documentation

◆ UE_DECLARE_LWC_TYPE() [1/5]

UE_DECLARE_LWC_TYPE ( BasisVectorMatrix  ,
44   
)

◆ UE_DECLARE_LWC_TYPE() [2/5]

UE_DECLARE_LWC_TYPE ( LookAtMatrix  ,
44   
)

◆ UE_DECLARE_LWC_TYPE() [3/5]

UE_DECLARE_LWC_TYPE ( LookFromMatrix  ,
44   
)

◆ UE_DECLARE_LWC_TYPE() [4/5]

UE_DECLARE_LWC_TYPE ( Matrix  ,
44   
)

◆ UE_DECLARE_LWC_TYPE() [5/5]

UE_DECLARE_LWC_TYPE ( Quat  ,
 
)

◆ UE_DECLARE_MATRIX_TYPE_TRAITS() [1/4]

UE_DECLARE_MATRIX_TYPE_TRAITS ( BasisVectorMatrix  )

◆ UE_DECLARE_MATRIX_TYPE_TRAITS() [2/4]

UE_DECLARE_MATRIX_TYPE_TRAITS ( LookAtMatrix  )

◆ UE_DECLARE_MATRIX_TYPE_TRAITS() [3/4]

UE_DECLARE_MATRIX_TYPE_TRAITS ( LookFromMatrix  )

◆ UE_DECLARE_MATRIX_TYPE_TRAITS() [4/4]

UE_DECLARE_MATRIX_TYPE_TRAITS ( Matrix  )