|
|
Source code |
1 2 3 |
<action name="reset_arch"> if(linkedscene == var2, reset_arch_off, reset_arch_on ) </action> |
|
|
Source code |
1 |
<scene name="DSC_0619_Panorama_cube_equi" title="Gallery" view_tag="pattern_1" > |
|
|
Source code |
1 |
if(scene[get(xml.scene)].view_tag == pattern_1. set(view... blah-blah-blah); );if(scene[get(xml.scene)].view_tag == pattern_2. set(view... another blah-blah-blah); ); if(scene[get(xml.scene)].view_tag == pattern_3. set(view... third blah-blah-blah); ); |
!|
|
Source code |
1 2 3 4 5 6 7 |
<scene name="scene_070" title="070" thumburl="panos/070.tiles/thumb.jpg" > <view hlookat=" " vlookat=" " architectural="1.0" architecturalonlymiddle="false" /> ................. <scene name="scene_090" title="090" thumburl="panos/090.tiles/thumb.jpg" > <view hlookat=" " vlookat=" " architectural="1.0" architecturalonlymiddle="false" /> |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 |
<scene name="scene_e06" title="e06" thumburl="panos/e06.tiles/thumb.jpg" > <view hlookat="0" vlookat="-20" architectural="0.0" /> ............... <scene name="scene_044" title="044" thumburl="panos/044.tiles/thumb.jpg" > <view hlookat="0" vlookat="-10" architectural="0.0" /> ............... <scene name="scene_065" title="065" thumburl="panos/065.tiles/thumb.jpg" > <view hlookat="0" vlookat="90" architectural="0.0" /> |
|
|
Source code |
1 2 3 4 5 |
<style name="skin_hotspotstyle" url="vtourskin_hotspot.png" scale="0.2" edge="top" oy="0" distorted="true" onclick="if(linkedscene, tween(scale,0.25,0.5); tween(oy,-20,0.5); tween(alpha,0,0.5); loadscene(get(linkedscene),null,KEEPVIEW,BLEND(1)); reset_arch(); skin_updatescroll(); );" onhover="if(skin_settings.tooltips_hotspots, if(linkedscene, showtext(get(scene[get(linkedscene)].title),SKIN_TOOLTIPS)) );" /> |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
<myarray>
<item name="i0" value="scene_e06"/>
<item name="i2" value="scene_044"/>
<item name="i3" value="scene_065"/>
</myarray>
<action name="reset_arch">
set(checkvar,false);
for(set(i,0), i LT myarray.item.count, inc(i),
if(linkedscene == myarray.item[get(i)].value, set(checkvar,true); );
);
if(checkvar,reset_arch_off(),reset_arch_on());
</action>
<action name="reset_arch_on">
set(view.architectural,1.0); set(view.architecturalonlymiddle,false);
</action>
<action name="reset_arch_off">
set(view.architectural,0.0);
</action>
|