Resimulate Foliage Spawner with C++ at Runtime

I wanted to use the Unreal Procedural Foliage Spawner in C++. I already have access to my FoliageVolume and FoliageSpawner. Is it somehow possible to Resimulate the Spawner at Runtime directly in my C++ code ? Thanks in advance !

You have to look at the engine code! Look at the list of classes regarding foliage here: Foliage | Unreal Engine Documentation
In particular you will be interested by UProceduralFoliageComponent, UProceduralFoliageSpawner and UProceduralFoliageTile. Please note most of the functionality is available in Editor mode only.

1 Like