UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ClothLODData_Legacy.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3
4
5#include "PointWeightMap.h"
7#include "SkeletalMeshTypes.h"
9#include "ClothLODData_Legacy.generated.h"
10
13
19USTRUCT()
21{
23
25
26 CLOTHINGSYSTEMRUNTIMECOMMON_API void MigrateTo(FPointWeightMap& Weights);
27
29 UPROPERTY()
30 FName MaskName;
31
33 UPROPERTY()
35
37 UPROPERTY()
38 float MaxValue_DEPRECATED;
39
41 UPROPERTY()
42 float MinValue_DEPRECATED;
43
45 UPROPERTY()
46 TArray<float> Values;
47
49 UPROPERTY()
50 bool bEnabled;
51};
52
57UCLASS(MinimalAPI)
59{
61public:
64
65 // Deprecated, use ClothPhysicalMeshData instead
66 UPROPERTY()
67 TObjectPtr<UClothPhysicalMeshDataBase_Legacy> PhysicalMeshData_DEPRECATED;
68
69 // Raw phys mesh data
70 UPROPERTY()
71 FClothPhysicalMeshData ClothPhysicalMeshData;
72
73 // Collision primitive and convex data for clothing collisions
74 UPROPERTY()
75 FClothCollisionData CollisionData;
76
77#if WITH_EDITORONLY_DATA
78 // Parameter masks defining the physics mesh masked data
79 UPROPERTY()
81#endif // WITH_EDITORONLY_DATA
82
83 // Skinning data for transitioning from a higher detail LOD to this one
85
86 // Skinning data for transitioning from a lower detail LOD to this one
88
89 // Custom serialize for transition
90 CLOTHINGSYSTEMRUNTIMECOMMON_API virtual void Serialize(FArchive& Ar) override;
91
92 // Migrate deprecated properties
93 CLOTHINGSYSTEMRUNTIMECOMMON_API virtual void PostLoad() override;
94
95 // Migrate this deprecated UObject class to the structure format (called by UClothingAssetCommon::PostLoad())
96 CLOTHINGSYSTEMRUNTIMECOMMON_API void MigrateTo(struct FClothLODDataCommon& LodData);
97};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
void Init()
Definition LockFreeList.h:4
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UCLASS(...)
Definition ObjectMacros.h:776
#define USTRUCT(...)
Definition ObjectMacros.h:746
EWeightMapTargetCommon
Definition PointWeightMap.h:12
Definition Archive.h:1208
Definition NameTypes.h:617
Definition UObjectGlobals.h:1292
Definition Array.h:670
Definition ClothLODData_Legacy.h:59
TArray< FMeshToMeshVertData > TransitionDownSkinData
Definition ClothLODData_Legacy.h:87
TArray< FMeshToMeshVertData > TransitionUpSkinData
Definition ClothLODData_Legacy.h:84
Definition ClothPhysicalMeshDataBase_Legacy.h:27
Definition Object.h:95
Definition ClothCollisionData.h:14
Definition ClothLODData.h:11
Definition ClothLODData_Legacy.h:21
Definition ClothPhysicalMeshData.h:26
Definition PointWeightMap.h:33
Definition ObjectPtr.h:488