Hi!
I have a quick question about the snapshot tool in Babylon React Native. When I use it in AR it captures the whole scene, with both real world objects and 3D rendered objects. I was wondering if it’s possible to have just the real world camera view instead.
I’ve tried VideoTexture.CreateFromWebCam but that just gives ‘undefined’.
VideoTexture.CreateFromWebCam(
scene,
function (videoTexture: any) {
console.debug('VideoTexture: ', videoTexture);
},
{maxWidth: 640, maxHeight: 480},
);
It could be really helpful in my image tracking endeavors.
Thanks!