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 void SetBoundaryConstraintsWithProjection
(
FMeshConstraints & Constraints,
const EBoundaryType BoundaryToConstrain,
const FDynamicMesh3 & Mesh,
double CornerAngleThreshold
)
Remarks
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.)
Parameters
| Name | Description |
|---|---|
| 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 |