You are not logged in.

1

Wednesday, April 10th 2019, 12:16pm

Autorotate activate for only one scene

How can i activate Autorotate for just one scene?
Thanks

Tuur

Sage

Posts: 3,124

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

2

Wednesday, April 10th 2019, 12:47pm

Hi,

one option can be:

Source code

1
<events name="rotation" keep="true" onnewscene="if(scene[get(xml.scene)].name == 'thescenename', set(autorotate.enabled, true);,set(autorotate.enabled, false)); " />


Hope it helps.

Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur