Navigation
API > API/Plugins > API/Plugins/ChaosClothAssetEngine > API/Plugins/ChaosClothAssetEngine/UChaosClothAsset
Description
Copy the draped simulation mesh patterns into the render mesh data. This is useful to visualize the simulation mesh, or when the simulation mesh can be used for both simulation and rendering.
| Name | CopySimMeshToRenderMesh |
| Type | function |
| Header File | /Engine/Plugins/ChaosClothAsset/Source/ChaosClothAssetEngine/Public/ChaosClothAsset/ClothAsset.h |
| Include Path | #include "ChaosClothAsset/ClothAsset.h" |
| Source | /Engine/Plugins/ChaosClothAsset/Source/ChaosClothAssetEngine/Private/ChaosClothAsset/ClothAsset.cpp |
void CopySimMeshToRenderMesh
(
UMaterialInterface * Material
)
Parameters
| Name | Remarks |
|---|---|
| Material | The material used to render. If none is specified the default debug cloth material will be used. |