3D Viewer
After adding a script tag to your website, methods for creating the 3D Viewer are available through the global object R2U.

R2U.viewer.create#
mobile desktop
It is method for creates a 3D model viewer at the position of the HTML element indicated, by default expandable via popup
Parameter popup#
Enables and disables the button to open the expandable 3D viewer with the model.
Popup example:

Parameter progressBarPosition#
Defines the position in which the progress bar will be inserted.
Parameter progressBarColor#
Sets the color of the progressBarPosition
Parameter poster#
Define an image on top of the 3D model that will be displayed when loading the model.
Change sku R2U.viewer.create#
The setSku method updates the product SKU.
SetSku example:

R2U.qrCode.create#
Creates a QRCode that, when scanned, directs the user to the model in AR.



