UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ClothPhysicalMeshDataBase_Legacy.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3
4#include "ClothVertBoneData.h"
5#include "Containers/Array.h"
6#include "Containers/Map.h"
7#include "CoreTypes.h"
9#include "UObject/Object.h"
12
13#include "ClothPhysicalMeshDataBase_Legacy.generated.h"
14
16struct FColor;
17
25UCLASS(MinimalAPI)
27{
29public:
32
35
38
41
42protected:
44 CLOTHINGSYSTEMRUNTIMEINTERFACE_API void RegisterFloatArray(const uint32 Id, TArray<float> *Array);
45
46public:
47 // Positions of each simulation vertex
48 UPROPERTY()
49 TArray<FVector3f> Vertices;
50
51 // Normal at each vertex
52 UPROPERTY()
54
55#if WITH_EDITORONLY_DATA
56 // Color at each vertex
57 UPROPERTY()
59#endif // WITH_EDITORONLY_DATA
60
61 // Indices of the simulation mesh triangles
62 UPROPERTY()
63 TArray<uint32> Indices;
64
65 // Inverse mass for each vertex in the physical mesh
66 UPROPERTY()
68
69 // Indices and weights for each vertex, used to skin the mesh to create the reference pose
70 UPROPERTY()
72
73 // Number of fixed verts in the simulation mesh (fixed verts are just skinned and do not simulate)
74 UPROPERTY()
75 int32 NumFixedVerts;
76
77 // Maximum number of bone weights of any vetex
78 UPROPERTY()
79 int32 MaxBoneWeights;
80
81 // Valid indices to use for self collisions (reduced set of Indices)
82 UPROPERTY()
83 TArray<uint32> SelfCollisionIndices;
84
86 TMap<uint32, TArray<float>*> IdToArray;
87};
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UCLASS(...)
Definition ObjectMacros.h:776
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition Array.h:670
Definition UnrealString.h.inl:34
Definition ClothPhysicalMeshDataBase_Legacy.h:27
Definition Object.h:95
Definition ClothVertBoneData.h:10
Definition Color.h:486