Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsEditorOnlyExp > API/Plugins/MeshModelingToolsEditorOnlyExp/SkeletalMesh > API/Plugins/MeshModelingToolsEditorOnlyExp/SkeletalMesh/USkinWeightsPaintTool
References
| Module | MeshModelingToolsEditorOnlyExp |
| Header | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsEditorOnlyExp/Public/SkeletalMesh/SkinWeightsPaintTool.h |
| Include | #include "SkeletalMesh/SkinWeightsPaintTool.h" |
| Source | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsEditorOnlyExp/Private/SkeletalMesh/SkinWeightsPaintTool.cpp |
void BeginChange()
Remarks
HOW TO EDIT WEIGHTS WITH UNDO/REDO:
"Interactive" Edits: For multiple weight editing operations that need to be grouped into a single transaction, like dragging a slider or dragging a brush, you must call:
ApplyWeightEditsWithoutTransaction() (this may be called multiple times)
EndChange() All the edits are stored into the "ActiveChange" and applied as a single transaction in EndChange(). Deformations and vertex colors will be updated throughout the duration of the change.