I am trying to convert a script made for a tool called Noesis to Blender, so far I have gotten it to work, although I cannot find an alternative to this line of code for blender:
material.setTexture()
I would imagine there is something similar to this, but I can't find anything. So is there an alternative to change the material to an image texture and then assign an image to it, preferably without the use of nodes?
Edit: for the most part, I have fixed it, yeah, you have to use nodes. Thanks to everyone that helped out.