Navigation
API > API/Runtime > API/Runtime/ClothingSystemRuntimeCommon > API/Runtime/ClothingSystemRuntimeCommon/Utils
Deprecated * Superseded by GenerateMeshToMeshVertData.
References
| Module | ClothingSystemRuntimeCommon |
| Header | /Engine/Source/Runtime/ClothingSystemRuntimeCommon/Public/Utils/ClothingMeshUtils.h |
| Include | #include "Utils/ClothingMeshUtils.h" |
namespace ClothingMeshUtils
{
void ClothingMeshUtils&58;&58;GenerateMeshToMeshSkinningData
&40;
TArray< FMeshToMeshVertData > & OutSkinningData,
const ClothMeshDesc & TargetMesh,
const TArray< FVector3f > &42; TargetTangents,
const ClothMeshDesc & SourceMesh,
const TArray< float > & TargetMaxEdgeLength,
bool bUseMultipleInfluences,
float KernelMaxDistance
&41;
}
Remarks
Given mesh information for two meshes, generate a list of skinning data to embed TargetMesh in SourceMesh
Parameters
| Name | Description |
|---|---|
| OutSkinningData | Final skinning data |
| TargetMesh | Mesh data for the mesh we are embedding |
| TargetTangents | Optional Tangents for the mesh we are embedding |
| SourceMesh | Mesh data for the mesh we are embedding into |
| TargetMaxEdgeLength | Per-vertex longest incident edge length, as returned by ComputeMaxEdgeLength() |
| bUseMultipleInfluences | Whether to take a weighted average of influences from multiple source triangles |
| KernelMaxDistance | Max distance parameter for weighting kernel |