Benutzerinformationen überspringen
Wohnort: Kobyłka, Poland
Beruf: Virtual Tours - Spherical Panoramas - Krpano developer
|
|
Quellcode |
1 |
loadscene(get(previousscene) |
Benutzerinformationen überspringen
Wohnort: Kobyłka, Poland
Beruf: Virtual Tours - Spherical Panoramas - Krpano developer
|
|
Quellcode |
1 2 3 4 5 6 7 8 |
<action name="newScene">
<!-- remembering last view status -->
...
<!-- updating icons, thumbnails, map points... -->
...
<!-- loading new scene -->
...
</action>
|
Benutzerinformationen überspringen
Wohnort: Kobyłka, Poland
Beruf: Virtual Tours - Spherical Panoramas - Krpano developer
|
|
Quellcode |
1 2 3 |
<action name="newScene">
...
</action>
|
|
|
Quellcode |
1 2 3 4 5 6 |
<hotspot name="hs1" ... onclick="newscene(scene123)" />
<action name="newScene">
set(activescene, %1);
loadscene(%1, null, MERGE, BLEND(1));
</action>
|
|
|
Quellcode |
1 2 3 4 5 6 7 |
<hotspot name="hs1" ... onclick="newscene(scene123)" />
<action name="newScene">
copy(previousScene, activescene);
set(activescene, %1);
loadscene(%1, null, MERGE, BLEND(1));
</action>
|
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »panomaster« (19. März 2013, 20:54)
Benutzerinformationen überspringen
Wohnort: Kobyłka, Poland
Beruf: Virtual Tours - Spherical Panoramas - Krpano developer
|
|
Quellcode |
1 |
loadscene(loadscene(%1, null, MERGE, BLEND(1))); |
|
|
Quellcode |
1 |
loadscene(%1, null, MERGE, BLEND(1)); |
|
|
Quellcode |
1 2 3 4 5 |
if (activePano == null,
set(previousPano, %1);
,
copy(previousPano, activePano);
);
|
Benutzerinformationen überspringen
Wohnort: Kobyłka, Poland
Beruf: Virtual Tours - Spherical Panoramas - Krpano developer
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »billjones« (20. März 2013, 04:48)