Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/MeshConstraintsUtil.h |
Include |
#include "MeshConstraintsUtil.h" |
Source |
/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Private/MeshConstraintsUtil.cpp |
static bool ConstrainEdgeBoundariesAndSeams
(
const int EdgeID,
const FDynamicMesh3 & Mesh,
const EEdgeRefineFlags MeshBoundaryConstraint,
const EEdgeRefineFlags GroupBoundaryConstraint,
const EEdgeRefineFlags MaterialBoundaryConstraint,
const EEdgeRefineFlags SeamEdgeConstraint,
const bool bAllowSeamSmoothing,
FEdgeConstraint & EdgeConstraint,
FVertexConstraint & VertexConstraintA,
FVertexConstraint & VertexConstraintB
)
Constrain all attribute seams for all overlays of a mesh and different types of boundaries on the mesh
false if no constraint is needed for this edge
Parameter |
Description |
---|---|
EdgeID |
the edge in Mesh to constrain |
Mesh |
the mesh to constrain |
MeshBoundaryConstraint |
the constraint policy for Mesh boundaries |
GroupBoundaryConstraint |
the constraint policy for boundaries between polygon groups |
MaterialBoundaryConstraint |
the constraint policy for boundaries between different materials |
SeamEdgeConstraint |
the constraint policy for attribute (e.g. uv, normals ) seams |
bAllowSmoothing |
should we allow constrained vertices to be smoothed |
EdgeConstraint |
[out] edge constraint to be updated |
VertexConstraintA |
[out] vertex constraint to be updated on return |
VertexConstraintB |
[out] vertex constraint to be updated on return |