Download

Foliage actor and NumCustomDataFloats

When you use the foliage tool there is basically a hidden InstancedFoliageActor created that doesn’t show up in the outliner and it also seems that you can’t access the instanced static mesh components that it uses under the hood. Anyone know a way around this?

I want to set a value for NumCustomDataFloats on the UInstancedStaticMeshComponent component so that it allocates the data properly so that I can use UInstancedStaticMeshComponent.SetCustomDataValue at runtime for various features.

Anyone know how to get around the janky hiddenness of the foliage ISM components to set up stuff like this?