获得过 0 次赞
回答过的问题获得 0 次赞
分享过的文章/案例获得 0 次赞
评论与回复获得 0 次赞
removeComponent
xr-frame中ar模式下,怎么禁止和启用camera的camera-orbit-control?<xr-camera id="camera" position="0 20 -35" clear-color="0 0 0 1" target="target" background="ar" camera-orbit-control="{{bControl}}" ></xr-camera> const camEl = this.scene.getElementById('camera'); this.camera = camEl.getComponent(wx.getXrFrameSystem().Camera); this.cameraCtrl = camEl.getComponent('camera-orbit-control'); this.cameraCtrl.disable(); 以上都试过了没用
2023-09-20