Hi I have an actor with multiple static mesh components. I want to assign a certain material to some of the components however I’m having trouble.
Ideally what I would like to do is use a command something like:
- Get all static meshes
- Loop all of them
- Does the name of the static mesh = keyword
- If it does assign material
I’m stuck on step 1. I can’t find a Get all static meshes.
Anyone got a good solution?