Navigation
API > API/Plugins > API/Plugins/MeshPartitionEditor
| Name | FRectangleGeneratorUtils |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/MeshPartition/Source/MeshPartitionEditor/Public/MeshPartitionRectangleGenerator.h |
| Include Path | #include "MeshPartitionRectangleGenerator.h" |
Syntax
struct FRectangleGeneratorUtils
Structs
| Name | Remarks |
|---|---|
| FSectionInfo |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TArray< FSectionInfo > ComputeSectionInfos
(
const FInt32Point MeshResolution, |
Compute the partitions of the the mesh based on the provided mesh resolution and optimal section resolution. | MeshPartitionRectangleGenerator.h | |
static FInt32Point ComputeSectionResolution
(
const FInt32Point MeshResolution, |
Compute the canonical section for the spatial decomposition of the given mesh resolution (in quads). | MeshPartitionRectangleGenerator.h | |
static ALocationVolume * CreateLocationVolume
(
UWorld*const World, |
MeshPartitionRectangleGenerator.h | ||
static void GenerateSectionMesh
(
Geometry::FDynamicMesh3& Mesh, |
Create a height field rectangular mesh with the size and UVs specified by SectionInfo If GetHeight references an unset TFunction, the mesh will be planar. | MeshPartitionRectangleGenerator.h | |
static TArray< MeshPartition::UMeshProviderModifier * > SpawnBaseModifiers
(
const TArray< FSectionInfo >& SectionInfos, |
Spawn in the world (and optionally register) base modifiers associated with the MegaMesh by means of the provided MegaMeshEditorComponent | MeshPartitionRectangleGenerator.h | |
static void SpawnLocationVolumes
(
const FVector& MeshSize, |
Spawn location volumes in the world and attach them to the MegaMesh. To be used by world partition. | MeshPartitionRectangleGenerator.h |