Navigation
API > API/Plugins > API/Plugins/ChaosClothAsset > API/Plugins/ChaosClothAsset/FClothGeometryTools
Description
Find sets of connected stitches for the given seam. Stitch (A, B) is connected to stitch (C, D) if there exist edges {(A, C), (B, D)} or {(A, D), (B, C)} in the given DynamicMesh. ClothCollection meshes must be manifold.
| Name | BuildConnectedSeams2D |
| Type | function |
| Header File | /Engine/Plugins/ChaosClothAsset/Source/ChaosClothAsset/Public/ChaosClothAsset/ClothGeometryTools.h |
| Include Path | #include "ChaosClothAsset/ClothGeometryTools.h" |
| Source | /Engine/Plugins/ChaosClothAsset/Source/ChaosClothAsset/Private/ChaosClothAsset/ClothGeometryTools.cpp |
static void BuildConnectedSeams2D
(
const TSharedRef < const FManagedArrayCollection > & ClothCollection,
int32 SeamIndex,
const UE::Geometry::FDynamicMesh3 & Mesh,
TArray < TArray < FIntVector2 > > & Seams
)