Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/FQuadGridPatch
Description
Initialize an NxM grid from a list of quads (represented as a pair of triangles) and corresponding rows of vertices. For N quad-rows, there must be N+1 vertex spans.
| Name | InitializeFromQuadPatch |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Selections/QuadGridPatch.h |
| Include Path | #include "Selections/QuadGridPatch.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/Selections/QuadGridPatch.cpp |
bool InitializeFromQuadPatch
(
const FDynamicMesh3 & Mesh,
const TArray < TArray < FIndex2i > > & QuadRowsIn,
const TArray < TArray < int32 > > & VertexSpansIn
)
false if the input data is detected to be invalid, in this case the patch is also cleared