Navigation
API > API/Plugins > API/Plugins/ChaosClothAssetEngine
Tools operating on cloth collections with Engine dependency
| Name | FClothEngineTools |
| Type | struct |
| Header File | /Engine/Plugins/ChaosClothAsset/Source/ChaosClothAssetEngine/Public/ChaosClothAsset/ClothEngineTools.h |
| Include Path | #include "ChaosClothAsset/ClothEngineTools.h" |
Syntax
struct FClothEngineTools
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static int32 CalculateReferenceBoneIndex
(
const TArray< int32 >& UsedBones, |
Calculate ReferenceBone from bone closest to the root of all used bones | ChaosClothAsset/ClothEngineTools.h | |
static int32 CalculateReferenceBoneIndex
(
const TSharedRef< const FManagedArrayCollection >& ClothCollection, |
Calculate ReferenceBone from bone closest to the root of all used weighted sim bones in a collection | ChaosClothAsset/ClothEngineTools.h | |
static bool CalculateRemappedBoneIndicesIfCompatible
(
const FCollectionClothConstFacade& Cloth1, |
Determine if skeletal meshes on two different cloth collections are compatible (one's reference skeleton is a subset of the other). | ChaosClothAsset/ClothEngineTools.h | |
static int32 CopySimMeshToSimAccessoryMesh
(
const FName& AccessoryMeshName, |
Create a new SimAccessoryMesh by copying the SimMesh data from one collection into another. | ChaosClothAsset/ClothEngineTools.h | |
static void GenerateTethers
(
const TSharedRef< FManagedArrayCollection >& ClothCollection, |
Generate tether data. | ChaosClothAsset/ClothEngineTools.h | |
static void GenerateTethersFromCustomSelectionSets
(
const TSharedRef< FManagedArrayCollection >& ClothCollection, |
ChaosClothAsset/ClothEngineTools.h | ||
static void GenerateTethersFromSelectionSet
(
const TSharedRef< FManagedArrayCollection >& ClothCollection, |
ChaosClothAsset/ClothEngineTools.h | ||
static FPointWeightMap GetMaxDistanceWeightMap
(
const TSharedRef< const FManagedArrayCollection >& ClothCollection, |
Retrieve the MaxDistance weight map from the cloth collection. | ChaosClothAsset/ClothEngineTools.h | |
static FPointWeightMap GetMaxDistanceWeightMap
(
const FCollectionClothConstFacade& ClothFacade, |
Retrieve the MaxDistance weight map from the cloth facades. | ChaosClothAsset/ClothEngineTools.h | |
static void RemapBoneIndices
(
FCollectionClothFacade& Cloth, |
Remap Bone indices for a cloth collection using remap array calculated by CalculateRemappedBoneIndicesIfCompatible. | ChaosClothAsset/ClothEngineTools.h |