Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/FMeshConstraintsUtil
References
| Module | DynamicMesh |
| Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/MeshConstraintsUtil.h |
| Include | #include "MeshConstraintsUtil.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/MeshConstraintsUtil.cpp |
static bool ConstrainEdgeBoundariesAndSeams
&40;
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
&41;
Remarks
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
Parameters
| Name | 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 |