Navigation
API > API/Plugins > API/Plugins/ChaosClothAssetTools > API/Plugins/ChaosClothAssetTools/FClothPatternToDynamicMeshMappin-
Description
Return the triangle ID in the original cloth data used to generate this DynamicMesh associated with the provided triangle id. In the case that the source data was actually manifold the returned triangle id will be identical to the DynamicMesh triangle id. Note: the code assumes but does not check that Tid is a valid triangle id
| Name | GetOriginalTriangleID |
| Type | function |
| Header File | /Engine/Plugins/ChaosClothAssetEditor/Source/ChaosClothAssetTools/Public/ChaosClothAsset/ClothPatternToDynamicMeshMappingSupport.h |
| Include Path | #include "ChaosClothAsset/ClothPatternToDynamicMeshMappingSupport.h" |
| Source | /Engine/Plugins/ChaosClothAssetEditor/Source/ChaosClothAssetTools/Private/ChaosClothAsset/ClothPatternToDynamicMeshMappingSupport.cpp |
int32 GetOriginalTriangleID
(
const int32 Tid
) const
Parameters
| Name | Remarks |
|---|---|
| Tid | the id of a triangle in the DynamicMesh. |