FMeshConstraintsUtil::ConstrainAllBoundariesAndSeams

Constrain all attribute seams for all overlays of a mesh and different types of boundaries on the mesh

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/MeshConstraintsUtil.h

Include

#include "MeshConstraintsUtil.h"

Source

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Private/MeshConstraintsUtil.cpp

Syntax

static void ConstrainAllBoundariesAndSeams
(
    FMeshConstraints & Constraints,
    const FDynamicMesh3 & Mesh,
    EEdgeRefineFlags MeshBoundaryConstraint,
    EEdgeRefineFlags GroupBoundaryConstraint,
    EEdgeRefineFlags MaterialBoundaryConstraint,
    bool bAllowSeamSplits,
    bool bAllowSeamSmoothing,
    bool bParallel
)

Remarks

Constrain all attribute seams for all overlays of a mesh and different types of boundaries on the mesh

Parameters

Parameter

Description

Constraints

the set of constraints to add to

Mesh

the mesh to constrain

MeshBoundaryConstraint

the constraints to place on Mesh boundaries

GroupBoundaryConstraint

the constraints to place on boundaries between polygon groups

MaterialBoundaryConstraint

the constraints to place on boundaries between different materials

bAllowSplits

should we allow constrained edges to be split

bAllowSmoothing

should we allow constrained vertices to be smoothed

bParallel

should we run the algo in parallel

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