krpano 教程 - 自动旋转和自动场景跳转的实现

来源:互联网 发布:spark源码下载 编辑:程序博客网 时间:2024/04/30 13:50
<autorotate enabled="true" waittime="0.5" accel="1.0" speed="5.0" horizon="0.0" tofov="90" />通过events执行停止delayedcall和开始delayedcall的动作<eventsonnewpano="delayedcall(autoscene,15,nextscene);"onremovepano="stopdelayedcall(autoscene);" />定义跳到下一场景的动作<action name="nextscene">add(newsceneindex, scene[get(xml.scene)].index, 1);if(newsceneindex LT scene.count, loadscene(get(scene[get(newsceneindex)].name), null, MERGE, BLEND(0.5)););update_button_states();</action>


免费全景教程资料下载:http://saybox.cn/360_download



0 0
原创粉丝点击