Navigation
API > API/Runtime > API/Runtime/ClothingSystemRuntimeCommon
Description
Unbind Clothing Data from the specified Skeletal Mesh LOD sections. If MeshLodIndex is INDEX_NONE, the Clothing Data will get unbound from all LODs and all sections (ignoring SectionIndex in this case). If SectionIndex is INDEX_NONE, the Clothing Data will get unbound from all sections of the specified LOD.
| Name | ClothingAssetUtils::UnbindFromSkeletalMesh |
| Type | function |
| Header File | /Engine/Source/Runtime/ClothingSystemRuntimeCommon/Public/ClothingAsset.h |
| Include Path | #include "ClothingAsset.h" |
| Source | /Engine/Source/Runtime/ClothingSystemRuntimeCommon/Private/ClothingAsset.cpp |
namespace ClothingAssetUtils
{
void ClothingAssetUtils::UnbindFromSkeletalMesh
(
const UClothingAssetBase & Asset,
USkeletalMesh & SkeletalMesh,
const int32 MeshLodIndex,
const int32 SectionIndex
)
}
Parameters
| Name | Remarks |
|---|---|
| Asset | The clothing data to unbind. |
| SkeletalMesh | The Skeletal Mesh to unbind the Clothing Data from. |
| MeshLodIndex | Mesh LOD to remove this asset from (could still be bound to other LODs), or INDEX_NONE to unbind all LODs. |
| SectionIndex | The Skeletal Mesh section to unbind, or INDEX_NONE to unbind all sections. |