Trying to chage texture inside of material via Param (Textre Param). But texture is not applying for material. Textures stored inside of an texture array of device
@editable
TargetTextures : []texture = array{}
if (Texture := TargetTextures[Index]):
Print(“Texture Index {Index} is valid”, ?Duration := 5.0)
Material := M_WallStatic_Inst{}
set Material.Param = Texture
Wall.SetMaterial(Material)
But set Material.Param = Textures.My_TestTexture is works
Any help?