struct

PcgComponent

A PCG volume: runs a .pcg graph over the box around the entity (or the whole landscape when the extents are zero) and places what its spawners make — foliage on this entity, mesh actors and Level Instances in the scene. The seed makes the result repeatable; changing the graph, the seed, the box or the terrain regenerates it in the editor.

Module
PCG
Header
#include "PCG/PcgComponent.h"
Namespace
Mowo
Reflection
Reflected by MowoHeaderTool

Properties

TypeNameDescription
boolenabledDefault true.
std::stringgraph
int32_tseedDefault 1.
Vec3extentsDefault Vec3(32.0f, 32.0f, 32.0f).
std::stringlandscapeEmpty = the first terrain in the scene.
boolgenerateInEditorDefault true.
boolgenerateAtRuntimeDefault true.
int32_tmaxPointsDefault 200000.
boolpartitionedDefault false.
floatpartitionCellSizeDefault 64.0f.
int32_tmaxMeshActorsDefault 2000.
std::stringgeneratedLevelsWhat the last run placed as Level Instances, one "name|map" per line, so the next run (or a reload) can take them away first.
std::stringbuiltFingerprint
uint32_tlastPointCountDefault 0.
uint32_tlastFoliageCountDefault 0.
uint32_tlastMeshCountDefault 0.
uint32_tlastLevelCountDefault 0.
uint64_tlastHashDefault 0.
std::stringlastError
Generated from PCG/PcgComponent.h via pcg.json · Oct 26, 2026Version 1.0.0