How can I switch the camera in UniversalAR? In Zapworks Studio it’s as easy as doing
cameraManager.useFrontCamera(); // Switch to the front facing camera cameraManager.useRearCamera(); // Switch to the rear facing camera
This is explained in the Switching Between Cameras section here.
However when reading the UniversalAR documentation for PlayCanvas, I couldn’t find an explanation on how to switch cameras. Only to start using front or rear, but not how to switch. Or stop and start another camera mode, or whatever. Nothing.
Preferably I would like to know how to do this changing the mirror mode as well, because using the front face camera I use the poses option.
How can I start the camera, pause(or stop?), switch cameras? Thank you for your time guys.