FConstrainedMeshDeformerTask::UpdateDeformer

Called by the main thread in the tool, this copies the Constraint buffer right before the task begins on another thread.

Windows
MacOS
Linux

References

Module

MeshModelingTools

Header

/Engine/Plugins/Experimental/MeshModelingToolset/Source/MeshModelingTools/Public/DeformMeshPolygonsTool.h

Include

#include "DeformMeshPolygonsTool.h"

Source

/Engine/Plugins/Experimental/MeshModelingToolset/Source/MeshModelingTools/Private/DeformMeshPolygonsTool.cpp

Syntax

void UpdateDeformer
(
    const ELaplacianWeightScheme SelectedWeightScheme,
    const FDynamicMesh3 & Mesh,
    const TArray< FDeformerVertexConstraintData > & ConstraintArray,
    const TArray< int32 > & SrcIDBufferSubset,
    bool bNewTransaction,
    const FRichCurve * Curve
)

Remarks

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss