struct
FFoliageType
One row of the painted-foliage palette — UE5's UFoliageType, kept on the scene instead of as an asset: a type only means something together with the instances painted with it, and a scene that loses either half is broken.
- Module
- Game
- Header
#include "Game/Components/FoliageInstancesComponent.h"- Namespace
Mowo- Reflection
- Reflected by MowoHeaderTool
Properties
| Type | Name | Description |
|---|---|---|
std::string | name | Default "Foliage". |
std::string | meshPath | Empty draws the component's blade clump, so a fresh palette row grows something before anyone imports a plant. |
float | density | Instances per square metre the brush fills toward. A dab counts what is already under it and adds only the difference, so holding the brush still saturates instead of stacking. Default 1.0f. |
float | radius | The closest two instances of this type may stand (UE's Radius): a candidate inside it of one already placed is dropped, so trees keep their crowns apart however long the brush is held. 0 = no spacing. Default 0.0f. |
float | minScale | Default 0.8f. |
float | maxScale | Default 1.2f. |
int32_t | scaling | UE's Scaling: 0 Uniform (every axis takes the Min/Max Scale roll, which is Scale X), 1 Free (X, Y and Z roll apart), 2 Lock XY (the ground axes share the X roll, Z rolls apart). Y and Z are UE's axes: Y across the ground, Z up. Default 0. |
float | minScaleY | Default 0.8f. |
float | maxScaleY | Default 1.2f. |
float | minScaleZ | Default 0.8f. |
float | maxScaleZ | Default 1.2f. |
float | alignToNormal | 0 = stands on world up, 1 = stands on the surface normal, blended in between; the same control the terrain palette carries. Default 0.0f. |
float | alignMaxAngle | UE's Align Max Angle: an instance aligned to its surface tilts at most this far from world up. 0 = no limit. Default 0.0f. |
bool | randomYaw | Default true. |
float | slopeLimitDegrees | Default 45.0f. |
float | minHeight | Default -10000.0f. |
float | maxHeight | Default 10000.0f. |
float | cullDistance | 0 = never culled by distance. Default 0.0f. |
bool | enabled | Default true. |
Generated from Game/Components/FoliageInstancesComponent.h via game.json · Nov 5, 2026Version 1.0.0