Navigation
API > API/Plugins > API/Plugins/ChaosClothAssetEngine > API/Plugins/ChaosClothAssetEngine/FClothEngineTools
Description
Remap Bone indices for a cloth collection using remap array calculated by CalculateRemappedBoneIndicesIfCompatible. Only vertices beginning with the provided Offsets will be remapped (can be set to non-zero to remap after merging collections)
| Name | RemapBoneIndices |
| 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 void RemapBoneIndices
(
FCollectionClothFacade & Cloth,
const TArray < int32 > & BoneIndicesRemap,
const int32 SimVertex3DOffset,
const int32 RenderVertexOffset
)