English
Appearance
English
Appearance
3D scenes correspond to the web3d type.
web3d does not depend on a real camera feed, so:
For web3d, the current Web page does not show only a QR code on desktop the way recognition-based scenes do. It can render the content directly.
Because of that, switchCamera() does not apply to web3d and throws immediately if called.
The hideBackground property is especially meaningful for web3d, and is useful when you want to remove the default background and visually blend the content more tightly into the host page.
web3d is one of the best modes for secondary development with advanced APIs. Common combinations include:
In the current photo capture implementation, if the mode is web3d, the final image mainly comes from the rendered result itself and does not include a real camera feed.