Sie sind nicht angemeldet.

1

Donnerstag, 30. Januar 2020, 11:14

Multiple events to autorun an action?

Is it possible to assign multiple events to an action's autorun attribute?

Quellcode

1
2
3
<action name="myActiony" autorun="onentervr, onexitvr">
    <!-- do stuff  onentervr and onexitvr -->
</action>


Many thanks,
Olly

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

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

  • Nachricht senden

2

Donnerstag, 30. Januar 2020, 11:55

Hi,

look here:
https://krpano.com/plugins/webvr/#onentervr

like

<events name="vrstuff" keep="true" webvr_onentervr="YOURENTERVRACTION" webvr_onexitvr="YOUREXITVRACTION" />

Hope it helps
Tuur *thumbsup*

3

Donnerstag, 30. Januar 2020, 14:20

Ah, so that is how it is done - thank you so much Tuur!