I am trying to figure out how to use C++ to Enable Material Parameter Caching on a static mesh. Check the picture.
I used Bluprint in the editor to determine that the variable I need is bEnableMaterialParameterCaching in MeshComponent.h and it is protected. I have tried everything under the sun to Enable Material Parameter Caching with no luck and I have google searched as well and have had no luck. So I am at a point where I am asking for help.
Any ideas? And thank you in advance.