I am using the image-texture
component to load a texture from a URL. Can this URL be changed at runtime?
Sure, it’s just a component, you can spawn it dynamically
You can also take out the code (it’s a simple component) and use it elsewhere
Effectively it’s just a WL.textures.load(imageUrl)
call
And that just loads a JavaScript Image
(Image() - Web APIs | MDN) and creates a Wonderland Engine textures from it.
The Image can be replaced by Video or Canvas elements and is therefore super flexible
great! thank you.