Variable texture MI

I can go to the coding section if this is the wrong place. Is there a way for you to create a material instance that just uses any picture file(Png, jpg ect) in the directory location with the same file name and also can you designate how many assets to render based on the number of pictures in that location. Thank you for your time.

I might need you to clarify what you mean.

Yes you can hard code a filepath so that a material would always use a set file.

*“can you designate how many assets to render based on the number of pictures in that location.” *
Yes in C++ you can certainly query how many files are in a directory and then take action from there.

You can find out how to do both by following this tutorial Accessing Directories In C/C++ Part I - C++ Tutorials | Dream.In.Code

+1 is appreciated

Thank you for your time my apologies.
I am trying to create a VR world that updates certain things in VR based off search queries.
I’ll give you an example, you are standing in front of a sky scrapper, a pop up box appears in unreal asking what you want to look at, you say cars, google images then open up and either unreal or an independent program scrapes all the images from that page stores them in a folder, then based off the images in the folder that is how many windows appear on the skyscraper. Instead of using a glass MI, each window is one resultant image of a car from Google.