Navigation
API > API/Plugins > API/Plugins/ChaosClothAssetEngine > API/Plugins/ChaosClothAssetEngine/UChaosClothAssetSKMClothingAsset
Description
Assign a Cloth or an Outfit Asset to this clothing data.
This is only possible WITH_EDITOR since the Skeletal Mesh might need to be rebuild when the asset is changed.
| Name | SetAsset |
| Type | function |
| Header File | /Engine/Plugins/ChaosClothAsset/Source/ChaosClothAssetEngine/Public/ChaosClothAsset/ClothAssetSKMClothingAsset.h |
| Include Path | #include "ChaosClothAsset/ClothAssetSKMClothingAsset.h" |
| Source | /Engine/Plugins/ChaosClothAsset/Source/ChaosClothAssetEngine/Private/ChaosClothAsset/ClothAssetSKMClothingAsset.cpp |
void SetAsset
(
const UChaosClothAssetBase * InAsset
)
Parameters
| Name | Remarks |
|---|---|
| InAsset | The new asset to set. |