I would like to be able to add/remove foliage types from a spawner via C++ code. However, the TArray containing the foliage types is marked private. The UProceduralFoliageSpawner class only has a getter function for the array, and no setter. What is the reason for this? Could a future update open up access to this TArray?
Hey geoffrey1218,
Since UE4 is open source, you can download the source code and modify this value yourself, for your project. To find out more about how to do this, you can visit this webpage: