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 |
static bool ConvertLoopToTriVidPairSequence
&40;
const FDynamicMesh3 & Mesh,
const TArray< int32 > & VidLoop,
const TArray< int32 > & EdgeLoop,
TArray< TPair< int32, TPair< int8, int8 >>> & TriVertPairsOut
&41;
Remarks
Converts a loop to a sequence of edge identifiers that are both Vid and Eid independent. The identifiers are of the form (TriangleID, ([0,2] vert sub index, [0,2] vert sub index)), and they are used in some cases (extrude, inset) where we want to perform vertex splits along a region boundary (to remove bowties) but need to maintain a record of the original loop path. We don't use (TriangleID, Eid sub index) because that makes it harder to keep track of individual edge directionality. false if not successful (usually due to a mismatch between VidLoop and EdgeLoop).
Parameters
| Name | Description |
|---|---|
| VidLoop | Vertex IDs of loop to convert. |
| EdgeLoop | Edge IDs of loop to convert, must match VidLoop. |
| TriVertPairsOut | Output |