level 11
chengxianggm
楼主
[html] view plaincopyprint?
<autorotate enabled="true" waittime="0.5" accel="1.0" speed="5.0" horizon="0.0" tofov="90" />
通过events执行停止delayedcall和开始delayedcall的动作
<events
onnewpano="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>
2015年05月14日 18点05分
1
<autorotate enabled="true" waittime="0.5" accel="1.0" speed="5.0" horizon="0.0" tofov="90" />
通过events执行停止delayedcall和开始delayedcall的动作
<events
onnewpano="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>