I have a material with the base color set to a custom primitive data value so the color can change for each instance of a static mesh which uses it.
I use this material on my tree and can set the color by selecting the staticMeshActor > Rendering > CustomPrimitiveDataDefaults > color_base
The problem: I cannot set this PrimitiveData for my tree’s material when it’s a FoliageType. There’s no option under the details panel, and it appears the trees are grouped.
Want: Id like to be able to set the material color for each foliage tree based on the normal/material the foliage is placed on.
If I derive from FoliageInstancedStaticMeshComponent there is no construction script and also I’m unable to find the Primitive Component which would be the target for the following: