Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/Operations > API/Plugins/DynamicMesh/Operations/FSmoothDynamicMeshVertexSkinWeig-
References
| Module | DynamicMesh |
| Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Operations/SmoothBoneWeights.h |
| Include | #include "Operations/SmoothBoneWeights.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/Operations/SmoothBoneWeights.cpp |
bool SmoothWeightsAtVerticesWithinDistance
&40;
const TArray< int32 > & Vertices,
const float Strength,
const double FloodFillUpToDistance,
const int32 NumIterations
&41;
Remarks
Compute smoothed weights at vertices and neighbors within distance and write the result into FDynamicMeshVertexSkinWeightsAttribute passed upon construction. true if the algorithm succeeds, false if it failed or was canceled by the user.
Parameters
| Name | Description |
|---|---|
| Vertices | Array of vertex IDs we are smoothing weights for. |
| Strength | The lerp value between the old and the new weight. |
| FloodFillUpToDistance | For every vertex in Vertices, find vertices that are within FloodFillUpToDistance geodesic distance away and smooth them as well. |
| NumIterations | Number of times the smoothing will be run |