Get array of static meshes from classes?

#Is there a way to:

1: Get static meshes inside BP_GameMode

2: Get all classes of type → forEachLoop → Get Element’s Static mesh?

I don’t want to:

Cast to a SPECIFIC BP - (Want it to be as abstract/flexible as possible since i’m getting all classes)


Thank you!

Probably, how to approach it would depend on the details.

Get Element’s Static mesh

If this is true, meaning each actor has only one Static Mesh Component, then:

If the scenario is more involved, then see if you can get the desired results out of the other components nodes:

And this would get Static Meshes Components that are at the root:

But this has, probably, less use and serves more of a fringe case scenario solution.

And once you have the SMC, you can get its Static Mesh.