FMeshConstraintsUtil::ConstrainEdgeBoundariesAndSeams

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 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
)

Remarks

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

Returns

false if no constraint is needed for this edge

Parameters

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

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