In this example we will implement a 360 Viewer with AR button.
Here is a working example of how the 360 Viewer should look like with AR button. You can also see the html and the code by clicking on the tabs.
1. Implementing the 360 HD Viewer
Before continuing, please follow step 1 - 4 in Simple implementation
2. Enabling AR button
To show the AR button on the 360 HD Viewer you will need to add the parameter ARQuickLook and set it to truein the constructor, if you dont include this parameter it will also try to show the AR buttons because by deafult it is set to true. Consider AR button have dependency on the hardware and software of the device so not all the devices will be able to show this new feature. Here is how that would look when implemented in the previous example: