After adding the script tag to your website, the methods for creating the 3D Customizer will be available through the global
R2U object (live demo).
Creates a 3D customizer on the website in the position of the indicated HTML element.
onConfirm function is triggered after the user clicks on the "Confirm" button on the Customizer screen. It returns a key-value pair containing the product customization (e.g. key model value Eames chair, key color value Black, etc.)
resultContainer element (optional) is created after the user clicks the "Confirm" button in the Customizer screen. It returns an HTML element that renders the 3D customization result.