Navigation
API > API/Plugins > API/Plugins/ChaosClothAsset > API/Plugins/ChaosClothAsset/FCollectionClothSelectionFacade
Description
Append all sets from an existing collection to this collection. Apply an offset to Other's data if its GroupName is in the GroupOffsets table. Matching sets (i.e., same name and type) will be unioned. Mismatching sets (same name, different type) will be handled according to bOverwriteExistingIfMismatched
| Name | AppendWithOffsets |
| Type | function |
| Header File | /Engine/Plugins/ChaosClothAsset/Source/ChaosClothAsset/Public/ChaosClothAsset/CollectionClothSelectionFacade.h |
| Include Path | #include "ChaosClothAsset/CollectionClothSelectionFacade.h" |
| Source | /Engine/Plugins/ChaosClothAsset/Source/ChaosClothAsset/Private/ChaosClothAsset/CollectionClothSelectionFacade.cpp |
void AppendWithOffsets
(
const FCollectionClothSelectionConstFacade & Other,
bool bOverwriteExistingIfMismatched,
const TMap < FName , int32 > & GroupOffsets
)
Parameters
| Name | Remarks |
|---|---|
| bOverwriteExistingIfMismatched | If true, overwrite existing mismatched sets. If false, keep the existing set. |