Navigation
API > API/Runtime > API/Runtime/ClothingSystemRuntimeCommon > API/Runtime/ClothingSystemRuntimeCommon/FClothTetherData > API/Runtime/ClothingSystemRuntimeCommon/FClothTetherData/GenerateTethers
References
| Module | ClothingSystemRuntimeCommon |
| Header | /Engine/Source/Runtime/ClothingSystemRuntimeCommon/Public/ClothTetherData.h |
| Include | #include "ClothTetherData.h" |
| Source | /Engine/Source/Runtime/ClothingSystemRuntimeCommon/Private/ClothTetherData.cpp |
void GenerateTethers
&40;
const TConstArrayView< FVector3f > & Points,
const TConstArrayView< uint32 > & Indices,
const TConstArrayView< float > & MaxDistances,
bool bUseGeodesicDistance
&41;
Remarks
Generate the tethers by following the triangle mesh network from the closest kinematic to each dynamic point. Inside array items can be processed concurrently, but the outside array must be iterated on sequentially.