Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/FMeshConstraintsUtil
Description
Constrain all attribute seams for all overlays of a mesh, for edges in the edge array. This includes edges in s * EdgeROI that are seams, as well as vertices incident to edges in EdgeROI that are on seams.
| Name | ConstrainSeamsInEdgeROI |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/MeshConstraintsUtil.h |
| Include Path | #include "MeshConstraintsUtil.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/MeshConstraintsUtil.cpp |
static void ConstrainSeamsInEdgeROI
(
FMeshConstraints & Constraints,
const FDynamicMesh3 & Mesh,
const TArray < int > & EdgeROI,
bool bAllowSplits,
bool bAllowSmoothing,
bool bParallel
)
Parameters
| Name | Remarks |
|---|---|
| Constraints | the set of constraints to add to |
| Mesh | the mesh to constrain |
| EdgeROI | list of edges to try to constrain |
| bAllowSplits | should we allow constrained edges to be split |
| bAllowSmoothing | should we allow constrained vertices to be smoothed |