FClothTetherData

Copyright Epic Games, Inc. All Rights Reserved.

Choose your operating system:

Windows

macOS

Linux

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

Name Description

Public variable

TArray< TArray<...

 

Tethers

Long range attachment tether start/end/length, sorted in sequential batches of independant tethers.

Functions

Name Description

Public function

void

 

GenerateTethers

(
    const TConstArrayView< FVector3f > ...,
    const TConstArrayView< uint32 >& I...,
    const TConstArrayView< float >& Ma...,
    bool bUseGeodesicDistance
)

Generate the tethers by following the triangle mesh network from the closest kinematic to each dynamic point.

Public function

bool

 

Serialize

(
    FArchive& Ar
)

Custom serializer, since neiher an array of array nor a tuple can be set as a UPROPERTY.