Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FDynamicMeshEditor
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/DynamicMeshEditor.h |
| Include | #include "DynamicMeshEditor.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/DynamicMeshEditor.cpp |
bool AddTriangleFan_OrderedVertexLoop
(
int CenterVertex,
const TArray < int > & VertexLoop,
int GroupID,
FDynamicMeshEditResult & ResultOut
)
Remarks
Fill hole with a triangle fan given an existing (unconnected) center vertex and an ordered loop of boundary vertices on the hole border. true if operation succeeded. If a failure occurs, any added triangles are removed via RemoveTriangles.
Parameters
| Name | Description |
|---|---|
| CenterVertex | Index of floating vertex in the center of the hole |
| VertexLoop | Indices of vertices on the boundary of the hole, in order |
| ResultOut | lists of newly created triangles |