struct

FTerrainGrassType

A grass type authored on the TERRAIN's layer palette rather than as a sibling FoliageComponent. UE5 hangs a grass type off the landscape layer info, and for the same reason: "sand does not grow grass" is a property of the painted layer, not of some other component that happens to be attached to the same actor. One entry per (layer, plant) pair; several may share a layer.

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

Properties

TypeNameDescription
int32_tlayerIndexDefault 0.
floatdensityDefault 0.2f.
floatweightThresholdDefault 0.25f.
std::stringmeshPath
floatminScaleDefault 0.8f.
floatmaxScaleDefault 1.2f.
floatslopeLimitDefault 0.4f.
floatalignToSlope0 = every instance stands straight up, 1 = every instance lies in the surface plane. Grass on a hillside that stays vertical reads as a decal standing on edge; a bush that fully aligns on a cliff hangs sideways off it. The blend is the control an artist actually wants. Default 0.0f.
int32_tmaxInstancesDefault 20000.
boolenabledDefault true.
Generated from Game/Components/TerrainComponent.h via game.json · Nov 5, 2026Version 1.0.0