Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsEditorOnly > API/Plugins/MeshModelingToolsEditorOnly/USkinWeightsPaintTool
Description
HELPER functions for modifying weights
given a map of BoneIndex > Weight values for a single vertex, modify the map by removing the smallest weights to fit in Max Influences
| Name | TruncateWeightMap |
| 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 |
static void TruncateWeightMap
(
TMap < BoneIndex, float > & InOutWeights
)