Closed Aarebecca closed 3 months ago
setZoomByViewportPoint 在完成缩放后调整相机时,使用了 pan 操作来调整,导致相机视点位置没有同步更新
pan
修正后:
缩放前后都通过 setPosition 和 setFocalPoint 来调整相机和视点位置
setZoomByViewportPoint 在完成缩放后调整相机时,使用了
pan
操作来调整,导致相机视点位置没有同步更新修正后:
缩放前后都通过 setPosition 和 setFocalPoint 来调整相机和视点位置