Is there a way to get a videoTexture by id/name?
I assumed when creating a VideoTexture the first parameter is an ID but doing document.getElementsById doesn’t seem to work.
Any thoughts?
Is there a way to get a videoTexture by id/name?
I assumed when creating a VideoTexture the first parameter is an ID but doing document.getElementsById doesn’t seem to work.
Any thoughts?
You can get a texture by using scene.getTextureByUniqueID()
: it will also work for video textures.
Thanks this worked for me!