// Copyright Epic Games, Inc. All Rights Reserved. #include "ClothPhysicalMeshDataBase_Legacy.h" #include UE_INLINE_GENERATED_CPP_BY_NAME(ClothPhysicalMeshDataBase_Legacy) UClothPhysicalMeshDataBase_Legacy::UClothPhysicalMeshDataBase_Legacy() : NumFixedVerts(0) , MaxBoneWeights(0) {} UClothPhysicalMeshDataBase_Legacy::~UClothPhysicalMeshDataBase_Legacy() {} TArray* UClothPhysicalMeshDataBase_Legacy::GetFloatArray(const uint32 Id) const { check(IdToArray.Contains(Id)); return IdToArray[Id]; } TArray UClothPhysicalMeshDataBase_Legacy::GetFloatArrayIds() const { TArray Keys; IdToArray.GetKeys(Keys); return Keys; } TArray*> UClothPhysicalMeshDataBase_Legacy::GetFloatArrays() const { TArray*> Values; IdToArray.GenerateValueArray(Values); return Values; } void UClothPhysicalMeshDataBase_Legacy::RegisterFloatArray( const uint32 Id, TArray *Array) { check(Id != INDEX_NONE); check(Array != nullptr); check(!IdToArray.Contains(Id) || IdToArray[Id] == Array); IdToArray.Add(Id, Array); }