Navigation
API > API/Plugins > API/Plugins/ChaosClothAssetDataflowNodes
Method for generating springs between source to target vertices
| Name | EChaosClothAssetClothVertexSpringConstructionMethod |
| Type | enum |
| Header File | /Engine/Plugins/ChaosClothAssetEditor/Source/ChaosClothAssetDataflowNodes/Public/ChaosClothAsset/SimulationClothVertexSpringConfigNode.h |
| Include Path | #include "ChaosClothAsset/SimulationClothVertexSpringConfigNode.h" |
Syntax
enum EChaosClothAssetClothVertexSpringConstructionMethod
{
SourceToClosestTarget,
ClosestSourceToClosestTarget,
AllSourceToAllTargets,
}
Values
| Name | Remarks |
|---|---|
| SourceToClosestTarget | For each source, connect the closest target. |
| ClosestSourceToClosestTarget | For each source/target, connect the closest vertex in the other set. |
| AllSourceToAllTargets | For each source/target, connect to all vertices in the other set. |