Navigation
API > API/Plugins > API/Plugins/ChaosClothAssetEngine > API/Plugins/ChaosClothAssetEngine/FClothEngineTools
Description
Build a FSkeletalMeshRenderData from the asset's simulation model vertex data. Used for preview rendering (thumbnails) when the asset has no render data.
| Name | BuildSimPreviewRenderData |
| Type | function |
| Header File | /Engine/Plugins/ChaosClothAsset/Source/ChaosClothAssetEngine/Public/ChaosClothAsset/ClothEngineTools.h |
| Include Path | #include "ChaosClothAsset/ClothEngineTools.h" |
| Source | /Engine/Plugins/ChaosClothAsset/Source/ChaosClothAssetEngine/Private/ChaosClothAsset/ClothEngineTools.cpp |
static TUniquePtr < FSkeletalMeshRenderData > BuildSimPreviewRenderData
(
const UChaosClothAssetBase & Asset
)
The built render data, or nullptr if the asset has no valid simulation models.
Parameters
| Name | Remarks |
|---|---|
| Asset | The cloth asset base to build preview render data from. |