I found that to disable scalling of model in AR it's enough to add "#allowsContentScaling=0" to url.
I use threejs library and convert my model using their internal USDZExporter and store it as blob. And after adding it to the end of url it doesn't show model at all.
What is the way of disabling scalling of model when url is a path to blob object already stored in a browser?
Example:
<a id="safariARbuttonLink" rel="ar" href="blob:http://localhost:50000/2bd52a27-2ed8-4b46-87d5-2faa889ad5cd#allowContentScalling=0" download="asset.usdz" style="display: none">
<img id="safariARbutton" width="100" src="../../images/arkit.png">
</a>
Url was created using "URL.createObjectURL( blob )".
I use threejs library and convert my model using their internal USDZExporter and store it as blob. And after adding it to the end of url it doesn't show model at all.
What is the way of disabling scalling of model when url is a path to blob object already stored in a browser?
Example:
<a id="safariARbuttonLink" rel="ar" href="blob:http://localhost:50000/2bd52a27-2ed8-4b46-87d5-2faa889ad5cd#allowContentScalling=0" download="asset.usdz" style="display: none">
<img id="safariARbutton" width="100" src="../../images/arkit.png">
</a>
Url was created using "URL.createObjectURL( blob )".
Same issue for me. It appears that when loading USDZ as a blob from mobile Safari, any / all additional URL fragments parameters are ignored by AR QuickLook, including
allowsContentScaling
,callToAction
,checkoutTitle
,checkoutSubtitle
,price
,applePayButtonType
,custom
,customHeight
,canonicalWebPageURL