UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Transform.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
9#include "CoreTypes.h"
11#include "Math/MathFwd.h" // IWYU pragma: export
12#include "Math/Quat.h"
13#include "Math/ScalarRegister.h"
21#include "UObject/NameTypes.h"
22#include "UObject/UnrealNames.h"
23
25class FArchive;
29class FSHA1;
30template <typename T> struct TCanBulkSerialize;
31template <typename T> struct TIsPODType;
32
33template<> struct TIsPODType<FTransform3f> { enum { Value = true }; };
34template<> struct TIsPODType<FTransform3d> { enum { Value = true }; };
35template<> struct TIsUECoreVariant<FTransform3f> { enum { Value = true }; };
36template<> struct TIsUECoreVariant<FTransform3d> { enum { Value = true }; };
37template<> struct TCanBulkSerialize<FTransform3f> { enum { Value = false }; }; // LWC_TODO: this was never defined before, should it be true or false?
38template<> struct TCanBulkSerialize<FTransform3d> { enum { Value = false }; };
41
42namespace UE::Math
43{
50 template<typename T>
52 {
53 uint32 Hash = GetTypeHash(Transform.GetTranslation());
56
57 return Hash;
58 }
59
60}
#define UE_DECLARE_LWC_TYPE(...)
Definition LargeWorldCoordinates.h:27
#define DECLARE_INTRINSIC_TYPE_LAYOUT(T)
Definition MemoryLayout.h:760
constexpr uint32 HashCombineFast(uint32 A, uint32 B)
Definition TypeHash.h:74
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition Archive.h:1208
Definition MemoryImageWriter.h:14
Definition MemoryImageWriter.h:78
Definition MemoryImage.h:49
Definition SecureHash.h:314
Definition Sphere.cpp:10
uint32 GetTypeHash(const TBox< T > &Box)
Definition Box.h:1008
Definition Array.h:45
@ Value
Definition Array.h:46
Definition IsPODType.h:12
@ Value
Definition IsPODType.h:13
Definition IsUECoreType.h:19
@ Value
Definition IsUECoreType.h:20