Navigation
API > API/Runtime > API/Runtime/ClothingSystemRuntimeCommon
References
| Module | ClothingSystemRuntimeCommon |
| Header | /Engine/Source/Runtime/ClothingSystemRuntimeCommon/Public/ClothTetherData.h |
| Include | #include "ClothTetherData.h" |
Syntax
struct FClothTetherData
Remarks
Long range attachment tether pathfinding based on Dijkstra's algorithm. For more information about the long range attachment, see: https://matthias-research.github.io/pages/publications/sca2012cloth.pdf
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< TArray< TTuple< int32, int32, float > > > | Tethers | Long range attachment tether start/end/length, sorted in sequential batches of independant tethers. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | GenerateTethers
(
TArray< TArray< TPair< float, int32 >>>&& PerDynamicNodeTethers |
Generate the tether batches from existing tether data. | |
| void | GenerateTethers
(
const TConstArrayView< FVector3f >& Points, |
Generate the tethers by following the triangle mesh network from the closest kinematic to each dynamic point. | |
| bool | Custom serializer, since neiher an array of array nor a tuple can be set as a UPROPERTY. |