struct

FoliageInstancesComponent

Hand-painted foliage: the palette and every instance the Foliage viewport mode placed with it. UE5's AInstancedFoliageActor. Instances are stored in WORLD space inside one packed field (see FFoliageInstanceCodec) rather than as a reflected array — ten thousand rows is not a details-panel property, and the scene format stays one string key that an older loader simply leaves alone.

Module
Game
Header
#include "Game/Components/FoliageInstancesComponent.h"
Namespace
Mowo
Reflection
Reflected by MowoHeaderTool

Properties

TypeNameDescription
boolenabledDefault true.
std::vector<FFoliageType>types
std::stringinstancesFFoliageInstanceCodec blob. Hidden from Details: the Foliage mode is the editor for it, and a wall of base64 is not an editable row.
int32_trevisionBumped by every edit the tool makes. The build fingerprint reads it instead of hashing the blob, so a 100 000-instance field costs nothing per frame to watch; undo restores an older number, which differs from the built one exactly when the blob does. Default 0.
floatbladeWidthThe clump drawn for palette rows with no mesh. Default 0.1f.
floatbladeHeightDefault 0.7f.
Vec3baseColorDefault Vec3(0.10f, 0.22f, 0.05f).
Vec3tipColorDefault Vec3(0.35f, 0.62f, 0.16f).
std::stringbuiltFingerprint
uint32_tbuiltInstanceCountDefault 0.
std::vector<FoliageBatchDraw>renderBatchesGPU-instanced clump batches, one per palette row that qualifies, built by FoliageSystem and submitted by Scene::OnRender the same way the terrain field's are. A dense paint used to cost one submesh submit per clump; a batch is one indirect draw for the whole row.
uint32_tbuiltBatchedCountDefault 0.

Constructors

SignatureNameDescription
FoliageInstancesComponent() = defaultFoliageInstancesComponent

Function details

FoliageInstancesComponent

C++
FoliageInstancesComponent() = default
Generated from Game/Components/FoliageInstancesComponent.h via game.json · Nov 5, 2026Version 1.0.0