这是我正在使用的代码。
[当我尝试从手机加载此文件时,相机变焦太大。
就像当我尝试在笔记本电脑屏幕上显示图像时,相机变焦太大,以致于我无法正确显示正确的图像,因此可以通过NFT标记识别图像
<body style="margin : 0px; overflow: hidden;">
<a-scene
vr-mode-ui="enabled: false;"
renderer="logarithmicDepthBuffer: true;"
embedded
arjs="trackingMethod: best; sourceType: webcam;debugUIEnabled: false;">
<a-nft
registerevents
type="nft"
url="/custom/generic/assests/nft/vc/vc"
smooth="true"
smoothCount="10"
smoothTolerance=".01"
smoothThreshold="5">
<a-text id="click_to_play_txt" position="17.06761 44.59457 5.43027" scale="20 20 1" text="color: #000" value="Click to play Video"></a-text>
</a-nft>
<a-entity camera></a-entity>
</a-scene>
</body>
</body>
</html>
根据我的经验,“相机变焦太大”,这是由于浏览器设置引起的>>
就我而言:Google Chrome Mobile>设置>辅助功能。取消选中Force Enable Zoom
,并且Text Scaling
为<= 100%