Navigation
API > API/Plugins > API/Plugins/MeshPartitionEditor > API/Plugins/MeshPartitionEditor/FRectangleGeneratorUtils
Description
Compute the canonical section for the spatial decomposition of the given mesh resolution (in quads). A resolution of zero will be returned if any of the inputs are .leq. to zero. Note: when the mesh is decomposed into sections, it may require some smaller sections to complete the decomposition (see comment in ComputeSectionInfos )
| Name | ComputeSectionResolution |
| Type | function |
| Header File | /Engine/Plugins/Experimental/MeshPartition/Source/MeshPartitionEditor/Public/MeshPartitionRectangleGenerator.h |
| Include Path | #include "MeshPartitionRectangleGenerator.h" |
| Source | /Engine/Plugins/Experimental/MeshPartition/Source/MeshPartitionEditor/Private/MeshPartitionRectangleGenerator.cpp |
static FInt32Point ComputeSectionResolution
(
const FInt32Point MeshResolution,
const int32 MaxTrianglesPerSection
)