Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
The read-only recommendedViewportScale
property of the XRView
interface is the recommended viewport scale value that you can use for XRView.requestViewportScale()
if the user agent has such a recommendation; null
otherwise.