Navigation
Unreal Engine C++ API Reference > Plugins > ChaosCloth > ChaosCloth > FClothConstraints > AddRules
References
Module | ChaosCloth |
Header | /Engine/Plugins/Experimental/ChaosCloth/Source/Chaos/Public/ChaosCloth/ChaosClothConstraints.h |
Include | #include "ChaosCloth/ChaosClothConstraints.h" |
Source | /Engine/Plugins/Experimental/ChaosCloth/Source/Chaos/Private/ChaosCloth/ChaosClothConstraints.cpp |
void AddRules
&40;
const Softs::FCollectionPropertyConstFacade & ConfigProperties,
const FTriangleMesh & TriangleMesh,
const FClothingPatternData &42; PatternData,
const TMap< FString, TConstArrayView< FRealSingle >> & WeightMaps,
const TArray< TConstArrayView< TTuple< int32, int32, FRealSingle >>> & Tethers,
Softs::FSolverReal MeshScale,
bool bEnabled
&41;
Remarks
- Cloth interface -