Hi!
How can I load an image from a URL and use it as a material for a Plane object inside ZapWorks Studio?
This is the code I’m currently using to fetch a json with some fields with images URLs:
Z.getJSON("https://juanmaramon.com/Test/json.json", function(data) {
console.log(data.sample[0].imageurl);
}, function() {
console.log("Unable to retrieve information. Check your network connection.");
});
How can I use the result URL to replace a plane material?
Kind regards,
Juanma