Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/FMeshConstraintsUtil
Description
Create polycurve projection targets at group boundaries. Vertices on multiple boundaries are fixed, as well as vertices at boundary "corners" (where the angle formed between adjacent boundary edges is above a given threshold.)
| Name | SetBoundaryConstraintsWithProjection |
| 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 SetBoundaryConstraintsWithProjection
(
FMeshConstraints & Constraints,
const EBoundaryType BoundaryToConstrain,
const FDynamicMesh3 & Mesh,
double CornerAngleThreshold
)
Parameters
| Name | Remarks |
|---|---|
| Constraints | (out) constraint data to add new constraints to |
| Mesh | the mesh to constrain |
| CornerAngleThreshold | angle threshold (in degrees) above which adjacent edges are considered a corner |