Navigation
API > API/Plugins > API/Plugins/DynamicMesh
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
| Name | FJoinMeshLoops |
| Type | class |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Operations/JoinMeshLoops.h |
| Include Path | #include "Operations/JoinMeshLoops.h" |
Syntax
class FJoinMeshLoops
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FJoinMeshLoops
(
FDynamicMesh3* Mesh |
Operations/JoinMeshLoops.h | ||
FJoinMeshLoops
(
FDynamicMesh3* Mesh, |
Operations/JoinMeshLoops.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FJoinMeshLoops() |
Operations/JoinMeshLoops.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| JoinQuads | TArray< FIndex2i > | Quads along the join strip, in order of loops. Each quad is two triangle indices | Operations/JoinMeshLoops.h | |
| JoinTriangles | TArray< int32 > | Triangles of the quads flattend out (convenient), ie size = 2*NumQuads | Operations/JoinMeshLoops.h | |
| LoopA | TArray< int32 > | First loop | Operations/JoinMeshLoops.h | |
| LoopB | TArray< int32 > | Second loop | Operations/JoinMeshLoops.h | |
| Mesh | FDynamicMesh3 * | Inputs The mesh that we are modifying | Operations/JoinMeshLoops.h | |
| NewGroups | TArray< int32 > | Groups created by the operation (currently 1) | Operations/JoinMeshLoops.h | |
| QuadGroups | TArray< int32 > | Group for each quad, ie size = NumQuads (currently all have same value) | Operations/JoinMeshLoops.h | |
| UVScaleFactor | float | Quads on the stitch loop are scaled by this amount | Operations/JoinMeshLoops.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool Apply() |
Apply the Extrude operation to the input mesh. | Operations/JoinMeshLoops.h | |
virtual EOperationValidationResult Validate() |
Operations/JoinMeshLoops.h |