How to create texture2d array in blueprint

I want to create a texture2d array dynamically with blueprint, which contains the following logic(please ignore the grammar)

var basename = "base_";

var myarray;

for(int i=0;i<100;i++)

{

var item = basename + i

myarray.append(item)

}

return myarray;

I know the above seems like a string type, but that’s what I currently come up with, or is there a way to convert string to texture2d?

Hi, if i get it right, you want to use an array of Texture2D objects then this post will help you: How do i use Texture2DArrays in a material? - Rendering - Unreal Engine Forums

if you actually wanted to use Texture2DArray, which is a different type that stores an array of textures in GPU memory instead of separate textures, then sadly it is not implemented yet with full support as i know it. I heard it was planned to ship with 4.19 but it did not.

If you want to implement it for yourself, then this is the post you are looking for: Is it possible to use Texture2DArrays in a material? - Rendering - Unreal Engine Forums