Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/Operations
References
| Module | DynamicMesh |
| Header | /Engine/Plugins/Runtime/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
| Type | Name | Description | |
|---|---|---|---|
| TArray< FIndex2i > | JoinQuads | Quads along the join strip, in order of loops. Each quad is two triangle indices | |
| TArray< int32 > | JoinTriangles | Triangles of the quads flattend out (convenient), ie size = 2*NumQuads | |
| TArray< int32 > | LoopA | First loop | |
| TArray< int32 > | LoopB | Second loop | |
| FDynamicMesh3 * | Mesh | InputsThe mesh that we are modifying | |
| TArray< int32 > | NewGroups | Groups created by the operation (currently 1) | |
| TArray< int32 > | QuadGroups | Group for each quad, ie size = NumQuads (currently all have same value) | |
| float | UVScaleFactor | Quads on the stitch loop are scaled by this amount |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FJoinMeshLoops
(
FDynamicMesh3* Mesh |
|||
FJoinMeshLoops
(
FDynamicMesh3* Mesh, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Apply () |
Apply the Extrude operation to the input mesh. | |
| EOperationValidationResult | Validate () |