用官方demo的代码,默认1个模型 ,ios和安卓都显示, 但是循环模型的时候,只有ios显示了,安卓不显示模型
<xr-scene ar-system="modes:Plane" bind:ready="handleReady" bind:ar-ready="handleARReady">
<xr-assets bind:progress="handleAssetsProgress" bind:loaded="handleAssetsLoaded">
<xr-asset-load type="gltf" asset-id="gltf-item" src="https://mmbizwxaminiprogram-1258344707.cos.ap-guangzhou.myqcloud.com/xr-frame/demo/just_a_girl/index.glb" />
<xr-asset-load type="gltf" asset-id="anchor" src="https://mmbizwxaminiprogram-1258344707.cos.ap-guangzhou.myqcloud.com/xr-frame/demo/ar-plane-marker.glb" />
<xr-asset-material asset-id="standard-mat" effect="standard" />
</xr-assets>
<xr-node>
<xr-ar-tracker mode="Plane">
<xr-gltf model="anchor"></xr-gltf>
</xr-ar-tracker>
<xr-node node-id="setitem" visible="false" >
<!-- 1个模型安卓和ios正常可显示 -->
<xr-gltf model="gltf-item" scale="0.005 0.005 0.005"></xr-gltf>
<!-- 循环模型和模型定位,ios正常显示,安卓不显示 -->
<xr-node wx:for="{{list}}" wx:key="item" >
<xr-gltf model="gltf-item" scale="0.005 0.005 0.005" position="{{item.pos}}"></xr-gltf>
</xr-node>
</xr-node>
<xr-camera
id="camera" node-id="camera" clear-color="0.925 0.925 0.925 1"
background="ar" is-ar-camera
></xr-camera>
</xr-node>
<xr-node node-id="lights">
<xr-light type="ambient" color="1 1 1" intensity="1" />
<xr-light type="directional" rotation="180 0 0" color="1 1 1" intensity="3" />
</xr-node>
</xr-scene>
给个完整的代码片段看看。