Navigation
API > API/Plugins > API/Plugins/ChaosClothAssetTools > API/Plugins/ChaosClothAssetTools/ChaosClothAsset
References
| Module | ChaosClothAssetTools |
| Header | /Engine/Plugins/ChaosClothAssetEditor/Source/ChaosClothAssetTools/Public/ChaosClothAsset/ClothPatternToDynamicMesh.h |
| Include | #include "ChaosClothAsset/ClothPatternToDynamicMesh.h" |
Syntax
class FClothPatternToDynamicMesh
Remarks
Convert a single pattern from a ClothAsset to a FDynamicMesh3. When PatternIndex = INDEX_NONE, convert the entire cloth asset to an FDynamicMesh3. When VertexDataType = EClothPatternVertexType::Sim3D, this generates a welded mesh (with native welded indexing) when PatternIndex = INDEX_NONE, and an unwelded (with native 2D unwelded indexing) when PatternIndex is a valid SimPattern Index.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Convert
(
const TSharedRef< const FManagedArrayCollection > ClothCollection, |
||
| void | Convert
(
const UChaosClothAsset* ClothAssetMeshIn, |