Navigation
API > API/Plugins > API/Plugins/MeshPartitionEditor > API/Plugins/MeshPartitionEditor/FRectangleGeneratorUtils
Description
Compute the partitions of the the mesh based on the provided mesh resolution and optimal section resolution. Note, in the case that the mesh resolution is not a multiple of the section resolution, the remainder sections will be smaller.
| Name | ComputeSectionInfos |
| 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 TArray < FSectionInfo > ComputeSectionInfos
(
const FInt32Point MeshResolution,
const FInt32Point SectionsResolution
)
Array of FSectionInfo