Module |
|
Header |
/Engine/Plugins/Experimental/MeshModelingToolset/Source/MeshModelingTools/Public/DeformMeshPolygonsTool.h |
Include |
#include "DeformMeshPolygonsTool.h" |
Source |
/Engine/Plugins/Experimental/MeshModelingToolset/Source/MeshModelingTools/Private/DeformMeshPolygonsTool.cpp |
void UpdateDeformer
(
const ELaplacianWeightScheme SelectedWeightScheme,
const FDynamicMesh3 & Mesh,
const TArray< FDeformerVertexConstraintData > & ConstraintArray,
const TArray< int32 > & SrcIDBufferSubset,
bool bNewTransaction,
const FRichCurve * Curve
)
Called by the main thread in the tool, this copies the Constraint buffer right before the task begins on another thread. Ensures the FConstrainedMeshDeformer is using correct mesh subset and the selected settings, then updates on change in properties, i.e. weight scheme