Navigation
API > API/Plugins > API/Plugins/ChaosClothAssetEngine > API/Plugins/ChaosClothAssetEngine/ChaosClothAsset > API/Plugins/ChaosClothAssetEngine/ChaosClothAsset/UChaosClothAsset > API/Plugins/ChaosClothAssetEngine/ChaosClothAsset/UChaosClothAsset/SetSkeleton
References
| Module | ChaosClothAssetEngine |
| Header | /Engine/Plugins/Experimental/ChaosClothAsset/Source/ChaosClothAssetEngine/Public/ChaosClothAsset/ClothAsset.h |
| Include | #include "ChaosClothAsset/ClothAsset.h" |
| Source | /Engine/Plugins/Experimental/ChaosClothAsset/Source/ChaosClothAssetEngine/Private/ChaosClothAsset/ClothAsset.cpp |
void SetSkeleton
&40;
USkeleton &42; InSkeleton,
bool bRebuildModels
&41;
Remarks
Set the skeleton asset and bone hierachy to use for this cloth.
Parameters
| Name | Description |
|---|---|
| InSkeleton | The skeleton asset to use for this cloth, or nullptr to setup a default skeleton asset. |
| bRebuildModels | Whether to rebuild the simulation and rendering models (editor builds only). |