Navigation
API > API/Runtime > API/Runtime/ClothingSystemRuntimeCommon
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
| Name | FClothTetherData |
| Type | struct |
| Header File | /Engine/Source/Runtime/ClothingSystemRuntimeCommon/Public/ClothTetherData.h |
| Include Path | #include "ClothTetherData.h" |
Syntax
USTRUCT ()
struct FClothTetherData
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Tethers | TArray< TArray< TTuple< int32, int32, float > > > | Long range attachment tether start/end/length, sorted in sequential batches of independant tethers. | ClothTetherData.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GenerateTethers
(
TArray< TArray< TPair< float, int32 > > >&& PerDynamicNodeTethers |
Generate the tether batches from existing tether data. | ClothTetherData.h | |
void GenerateTethers
(
const TConstArrayView< FVector3f >& Points, |
Generate the tethers by following the triangle mesh network from the closest kinematic to each dynamic point. | ClothTetherData.h | |
void GenerateTethers
(
const TConstArrayView< FVector3f >& Points, |
Generate the tethers by following the triangle mesh network from the closest kinematic to each dynamic point. | ClothTetherData.h | |
void GenerateTethers
(
const TConstArrayView< FVector3f >& Points, |
Generate the tethers by following the triangle mesh network from the closest kinematic tether end to each dynamic point. | ClothTetherData.h | |
void GenerateTethers
(
const TConstArrayView< FVector3f >& Points, |
Generate the tethers by following the triangle mesh network from the closest kinematic to each dynamic point. | ClothTetherData.h | |
bool Serialize
(
FArchive& Ar |
Custom serializer, since neiher an array of array nor a tuple can be set as a UPROPERTY. | ClothTetherData.h |