Navigation
API > API/Plugins > API/Plugins/MeshPartition
Grid configuration: cell size, 2D-vs-3D mode, and grid origin offset. Used everywhere a mesh is split on a regular grid WP-aligned compiled sections, complexity-driven subsection splits, and PIE placeholders. Hashed in field-declaration order via GatherDependencies; new attributes (padding, ...) extend this struct rather than threading parallel parameters.
| Name | FGridSettings |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/MeshPartition/Source/MeshPartition/Public/MeshPartitionGridSettings.h |
| Include Path | #include "MeshPartitionGridSettings.h" |
Syntax
USTRUCT (BlueprintType )
struct FGridSettings
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIs2D | bool | True when the grid collapses Z into a single column per X/Y cell (matches WP runtime LHGrid Is2D). | MeshPartitionGridSettings.h |
|
| CellSize | uint32 | Cell size in unreal units. 0 means "no grid splitting" (single-section path). | MeshPartitionGridSettings.h |
|
| WorldOriginOffset | FVector | World-space anchor of the grid (typically FFixedGridInfo::Origin). | MeshPartitionGridSettings.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GatherDependencies
(
IDependencyInterface& InOutDependencies |
MeshPartitionGridSettings.h | ||
bool IsGridSplit () |
True when the grid is configured for grid-aligned splitting (CellSize > 0). | MeshPartitionGridSettings.h |