Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsEditorOnly > API/Plugins/MeshModelingToolsEditorOnly/USkinWeightsPaintTool
Description
Single smoothing pass. To iterate, pair each call with ApplyWeightEditsWithoutTransaction so CurrentWeights advances before the next call. bUsePreChangeWeight=false reads CurrentWeights for cross-call compounding; true reads the at-stroke-start snapshot.
| Name | CreateWeightEditsToRelaxVertices |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/MeshModelingToolsEditorOnly/Public/SkeletalMesh/SkinWeightsPaintTool.h |
| Include Path | #include "SkeletalMesh/SkinWeightsPaintTool.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/MeshModelingToolsEditorOnly/Private/SkeletalMesh/SkinWeightsPaintTool.cpp |
void CreateWeightEditsToRelaxVertices
(
TArray < int32 > VerticesToEdit,
TArray < float > VertexFalloffs,
const float Strength,
const bool bUsePreChangeWeight,
SkinPaintTool::FMultiBoneWeightEdits & InOutWeightEdits
)