hello
Is there a way to get all static meshes in level (map) blueprints?
For example, when i want to render two types of sequences,
one as all meshes with white material.
second as all meshes with color material.
If i could collect all meshes by one process, it would be easy.
LazerTale
(LazerTale)
2
yes you can get all the the static meshes in the level.
Use GetAllActorsOfClass
to get all the actors in the level of a specified class.
Actor class should be StaticMeshActor
for static meshes.
However, do not use this in a tick function if your world has thousands of actors. It is really slow.
thank you I will use it with BeginPlay function.
could get all meshes by the node.