FDynamicMeshEditor::AddTriangleFan_OrderedVertexLoop

Fill hole with a triangle fan given an existing (unconnected) center vertex and an ordered loop of boundary vertices on the hole border.

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/DynamicMeshEditor.h

Include

#include "DynamicMeshEditor.h"

Source

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Private/DynamicMeshEditor.cpp

Syntax

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.

Returns

true if operation succeeded. If a failure occurs, any added triangles are removed via RemoveTriangles.

Parameters

Parameter

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

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