FJoinMeshLoops

[FJoinMeshLoops](API\Plugins\DynamicMesh\Operations\FJoinMeshLoops) connects two open loops of a mesh with a quad-strip.

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/Operations/JoinMeshLoops.h

Include

#include "Operations/JoinMeshLoops.h"

Syntax

class FJoinMeshLoops

Remarks

FJoinMeshLoops connects two open loops of a mesh with a quad-strip. A 1-1 match between the loop vertices is assumed.

The fill strip currently is configured so that:

  • entire strip is assigned a new face group

  • the entire strip becomes a separate "normal island", ie hard normals at border with existing mesh

  • the strip is unwrapped into a UV rectangle starting at vertex 0 and ending back at 0 again

Variables

Name Description

Public variable

TArray< FIndex2...

 

JoinQuads

Quads along the join strip, in order of loops. Each quad is two triangle indices

Public variable

TArray< int32 >

 

JoinTriangles

Triangles of the quads flattend out (convenient), ie size = 2*NumQuads

Public variable

TArray< int32 >

 

LoopA

First loop

Public variable

TArray< int32 >

 

LoopB

Second loop

Public variable

FDynamicMesh3 &...

 

Mesh

InputsThe mesh that we are modifying

Public variable

TArray< int32 >

 

NewGroups

Groups created by the operation (currently 1)

Public variable

TArray< int32 >

 

QuadGroups

Group for each quad, ie size = NumQuads (currently all have same value)

Public variable

float

 

UVScaleFactor

Quads on the stitch loop are scaled by this amount

Constructors

Name Description

Public function

FJoinMeshLoops

(
    FDynamicMesh3* Mesh
)

Public function

FJoinMeshLoops

(
    FDynamicMesh3* Mesh,
    const TArray< int32 >& LoopA,
    const TArray< int32 >& LoopB
)

Destructors

Name Description

Public function Virtual

~FJoinMeshLoops()

Functions

Name Description

Public function Virtual

bool

 

Apply()

Apply the Extrude operation to the input mesh.

Public function Virtual

EOperationVa...

 

Validate()

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