网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 时尚美容

Photo Sphere Viewer使用攻略

时间:2024-10-13 19:18:34

1、使用该全景图插件时要引入three.min.js和photo-sphere-viewer.min.js文件。<script src="js/three.min.js"></script><script src="js/photo-sphere-viewer.min.js"></script>

Photo Sphere Viewer使用攻略

3、要初始化该全景图插件,可以创建一个新的PhotoSphereViewer对象,然后在这个对象中插入一个参数对象,有两个参数是必须设置的:var PSV = new PhotoSphereViewer({ // Path to the panorama panorama: '1.jpg', // Container container: div});

Photo Sphere Viewer使用攻略

8、浏览器兼容性,如下图所示:

Photo Sphere Viewer使用攻略
© 2025 小知经验
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com