Navigation
API > API/Plugins > API/Plugins/ChaosClothAssetDataflowNodes
Method for generating springs between source vertices and target faces
| Name | EChaosClothAssetClothVertexFaceSpringConstructionMethod |
| Type | enum |
| Header File | /Engine/Plugins/ChaosClothAssetEditor/Source/ChaosClothAssetDataflowNodes/Public/ChaosClothAsset/SimulationClothVertexFaceSpringConfigNode.h |
| Include Path | #include "ChaosClothAsset/SimulationClothVertexFaceSpringConfigNode.h" |
Syntax
enum EChaosClothAssetClothVertexFaceSpringConstructionMethod
{
SourceToClosestTarget,
SourceToRayIntersectionTarget,
AllWithinRadius,
Tetrahedralize,
}
Values
| Name | Remarks |
|---|---|
| SourceToClosestTarget | For each source, connect the closest target point. |
| SourceToRayIntersectionTarget | For each source, shoot a ray in Normal direction. |
| AllWithinRadius | For each source, find all targets within a radius. |
| Tetrahedralize | Create a tet mesh and find corresponding tet face-vertex pairs. |