UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
StructSerializationUtilities.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "UObject/Class.h"
6
8{
9 static bool IsLWCType(const UStruct* Type)
10 {
11 static TSet<FName> LWCTypes = { NAME_Vector
16 , NAME_Quat
19 , NAME_Box
22 , FName(TEXT("OrientedBox"))};
23 if (Type)
24 {
25 const FName StructName = Type->GetFName();
26 return LWCTypes.Contains(StructName);
27 }
28
29 return false;
30 }
31};
#define TEXT(x)
Definition Platform.h:1272
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
bool IsLWCType(EMaterialValueType InType)
Definition MaterialShared.h:240
Definition NameTypes.h:617
Definition Class.h:480
Definition StructSerializationUtilities.h:8