Navigation
API > API/Plugins > API/Plugins/ChaosClothAssetEngine
Cloth simulation LOD model. Contains the LOD data as fed to the solver for constraints creation.
| Name | FChaosClothSimulationLodModel |
| Type | struct |
| Header File | /Engine/Plugins/ChaosClothAsset/Source/ChaosClothAssetEngine/Public/ChaosClothAsset/ClothSimulationModel.h |
| Include Path | #include "ChaosClothAsset/ClothSimulationModel.h" |
Syntax
USTRUCT ()
struct FChaosClothSimulationLodModel
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BoneData | TArray< FClothVertBoneData > | Skinning weights. | ChaosClothAsset/ClothSimulationModel.h | |
| FaceIntMaps | TMap< FName, TArray< int32 > > | Face int maps (currently used by cloth collision layers) | ChaosClothAsset/ClothSimulationModel.h | |
| FaceSets | TMap< FName, TSet< int32 > > | Face sets | ChaosClothAsset/ClothSimulationModel.h | |
| Indices | TArray< uint32 > | Triangles indices. | ChaosClothAsset/ClothSimulationModel.h | |
| LODTransitionDownData | TArray< FMeshToMeshVertData > | ChaosClothAsset/ClothSimulationModel.h | ||
| LODTransitionUpData | TArray< FMeshToMeshVertData > | LOD Transition mesh to mesh skinning weights. | ChaosClothAsset/ClothSimulationModel.h | |
| Normals | TArray< FVector3f > | Vertex Normals. | ChaosClothAsset/ClothSimulationModel.h | |
| PatternIndices | TArray< uint32 > | Pattern triangle indices. Indexing into PatternPositions. | ChaosClothAsset/ClothSimulationModel.h | |
| PatternPositions | TArray< FVector2f > | 2d pattern positions. | ChaosClothAsset/ClothSimulationModel.h | |
| PatternToWeldedIndices | TArray< uint32 > | Map from PatternsPositions indices to Positions indices. | ChaosClothAsset/ClothSimulationModel.h | |
| Positions | TArray< FVector3f > | Vertex positions. | ChaosClothAsset/ClothSimulationModel.h | |
| RequiredExtraBoneIndices | TArray< uint16 > | Already remapped using UsedBoneIndices. | ChaosClothAsset/ClothSimulationModel.h | |
| TetherData | FClothTetherData | Tether data | ChaosClothAsset/ClothSimulationModel.h | |
| VertexSets | TMap< FName, TSet< int32 > > | Vertex sets | ChaosClothAsset/ClothSimulationModel.h | |
| WeightMaps | TMap< FName, TArray< float > > | Weight maps for storing painted attributes modifiers on constraint properties. | ChaosClothAsset/ClothSimulationModel.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GetResourceSizeEx
(
FResourceSizeEx& CumulativeResourceSize |
ChaosClothAsset/ClothSimulationModel.h | ||
bool Serialize
(
FArchive& Ar |
Custom serialize for weight maps. | ChaosClothAsset/ClothSimulationModel.h |