| Current Path : /home/azimutno/www/images/fa360/sweetjomepropertiesdata/ |
| Current File : /home/azimutno/www/images/fa360/sweetjomepropertiesdata/sweetjomeproperties_skin_vr.xml |
<?xml version="1.0" encoding="UTF-8"?>
<krpano version="1.20.2">
<!-- Spot Style - Default Point Spot Style 1 -->
<style name="IconDefaultPointSpotStyle1"
url="%FIRSTXML%/spots/hotspot_plan_sequence_user_defaultpoint0.png"
visible="false"
frame="0"
lastframe="14"
framewidth="50"
frameheight="50"
stopspotsequence="false"
crop="0|0|50|50"
edge="center"
onloaded="startspotanimation(0.1);"
onhover="onhoverIconDefaultPointSpotStyle1"
onover="onoverIconDefaultPointSpotStyle1"
onout="onoutIconDefaultPointSpotStyle1"
height="35"
width="35"
/>
<action name="onhoverIconDefaultPointSpotStyle1">
showtooltip('hotspot');
</action>
<action name="onoverIconDefaultPointSpotStyle1">
pauseautorotation(forcehotspot);
</action>
<action name="onoutIconDefaultPointSpotStyle1">
hideTooltip();
resumeautorotation(forcehotspot);
</action>
<!-- Hide / Show Controls -->
<action name="hideTourControls">set(tour_displaycontrols, false);events.dispatch(hidetourcontrols);</action>
<action name="showTourControls">set(tour_displaycontrols, true); events.dispatch(showtourcontrols);</action>
<!-- Fullscreen Management -->
<action name="exitFullScreen" devices="fullscreensupport">set(tour_fullscreen,false);set(fullscreen,false);</action>
<action name="enterFullScreen" devices="fullscreensupport">set(tour_fullscreen,true);set(fullscreen,true);</action>
<action name="switchFullScreen">if(tour_fullscreen,exitFullScreen();,enterFullScreen(););</action>
<events name="krpanoExitFullscreenEvent"
onexitfullscreen="if(tour_fullscreen,exitFullScreenChangeEvent(););"
keep="true" />
<action name="exitFullScreenChangeEvent" devices="fullscreensupport">set(tour_fullscreen,false);events.dispatch(onexitfullscreen);</action>
<action name="viewControlMoveUp">
if(%1,
if(%2,
set(isfullvertical, false);
ifnot(scene[get(xml.scene)].planar,
sub(viewvfov, panoview.vmax, panoview.vmin);
if (viewvfov == 180,
set(isfullvertical, true);
);
);
if(isfullvertical == false AND calc(view.vlookat-%2) LT view.vlookatmin,
moveto(get(view.hlookat), get(view.vlookatmin));
,
moveto(get(view.hlookat), calc(view.vlookat-%2));
);
,
set(vlookat_moveforce, -1);
delayedcall(0.1, viewControlMoveVertStop());
);
,
set(vlookat_moveforce, -1);
);
</action>
<action name="viewControlMoveDown">
if(%1,
if(%2,
set(isfullvertical, false);
ifnot(scene[get(xml.scene)].planar,
sub(viewvfov, panoview.vmax, panoview.vmin);
if (viewvfov == 180,
set(isfullvertical, true);
);
);
if(sceneisfull360 == false AND calc(view.vlookat+%2) GT view.vlookatmax,
moveto(get(view.hlookat), get(view.vlookatmax));
,
moveto(get(view.hlookat), calc(view.vlookat+%2));
);
,
set(vlookat_moveforce, +1);
delayedcall(0.1, viewControlMoveVertStop());
);
,
set(vlookat_moveforce, +1);
);
</action>
<action name="viewControlMoveLeft">
if(%1,
if(%2,
set(isfullhorizontal, false);
ifnot(scene[get(xml.scene)].planar,
sub(viewhfov, panoview.hmax, panoview.hmin);
if (viewhfov == 360,
set(isfullhorizontal, true);
);
);
if(isfullhorizontal == false AND calc(view.hlookat-%2) LT view.hlookatmin,
moveto(get(view.hlookatmin), get(view.vlookat));
,
moveto(calc(view.hlookat-%2), get(view.vlookat));
);
,
set(hlookat_moveforce, -1);
delayedcall(0.1, viewControlMoveHoriStop());
);
,
set(hlookat_moveforce, -1);
);
</action>
<action name="viewControlMoveRight">
if(%1,
if(%2,
set(isfullhorizontal, false);
ifnot(scene[get(xml.scene)].planar,
sub(viewhfov, panoview.hmax, panoview.hmin);
if (viewhfov == 360,
set(isfullhorizontal, true);
);
);
if(isfullhorizontal == false AND calc(view.hlookat+%2) GT view.hlookatmax,
moveto(get(view.hlookatmax), get(view.vlookat));
,
moveto(calc(view.hlookat+%2), get(view.vlookat));
);
,
set(hlookat_moveforce, +1);
delayedcall(0.1, viewControlMoveHoriStop());
);
,
set(hlookat_moveforce, +1);
);
</action>
<action name="viewControlMoveHoriStop">
set(hlookat_moveforce, 0);
</action>
<action name="viewControlMoveVertStop">
set(vlookat_moveforce, 0);
</action>
</krpano>