|
|
Quellcode |
1 |
<hotspot name = "z105" handcursor = "true" distorted = "true" url = "imag / lupa_plus.png" scale = "0.3" ath = "- 111.785" atv = "6.043" scale.mobilevr = "0" /> |
|
|
Quellcode |
1 |
<events name="myevz105" keep="true" webvr_onentervr="set(hotspot[z105].scale, 0.0)" webvr_onexitvr="set(hotspot[z105].scale, 0.3)" /> |
|
|
Quellcode |
1 |
<hotspot name = "z105" handcursor = "true" distorted = "true" url = "imag / lupa_plus2.png" scale = "0.6" style = "tooltip" tooltip = "scale.mobilevr" ath = "180" atv = "-10" scale.mobilevr = "0" /> |
|
|
Quellcode |
1 |
<hotspot name = "myevz272" handcursor = "true" distorted = "true" url = "imag / lupa_plus3.png" scale = "0.6" style = "tooltip" tooltip = "webvr_onentervr" ath = "190" atv = "- 10 "webvr_onentervr =" set (hotspot [z105] .scale, 0.0) "webvr_onexitvr =" set (hotspot [z105] .scale, 0.3) "/> |
|
|
Quellcode |
1 |
<events name = "myevz44" keep = "true" webvr_onentervr = "set (hotspot [z44] .scale, 0.0)" webvr_onexitvr = "set (hotspot [z44] .scale, 0.3)" /><hotspot name = "z44" handcursor = "true" distorted = "true" url = "imag / lupa_plus1.png" scale = "0.6" style = "tooltip" tooltip = "Normal" ath = "160" atv = "- 10 "/> <events name = "myevz105" keep = "true" webvr_onentervr = "set (hotspot [z105] .scale, 0.0)" webvr_onexitvr = "set (hotspot [z105] .scale, 0.3)" /> <hotspot name = "z105" handcursor = "true" distorted = "true" url = "imag / lupa_plus2.png" scale = "0.6" style = "tooltip" tooltip = "scale.mobilevr" ath = "180" atv = "-10" scale.mobilevr = "0" /> |
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
<events name="webvr_hotspot_hide" keep="true" webvr_onentervr="webvr_hotspot_hide(true);" webvr_onexitvr="webvr_hotspot_hide(false);" /> <action name="webvr_hotspot_hide" scope="local" args="hide"> for(set(local.i,0), i LT hotspot.count, inc(i), if(hotspot[get(i)].webvr_hide, if(hide, copy(hotspot[get(i)].visible_bak, hotspot[get(i)].visible); set(hotspot[get(i)].visible, false); trace(hotspot[get(i)].name,' is now hidden'); , hotspot[get(i)].visible_bak !== null, copy(hotspot[get(i)].visible, hotspot[get(i)].visible_bak); delete(hotspot[get(i)].visible_bak); trace(hotspot[get(i)].name,' is now visible'); ); ); ); </action> <scene name="..." > <hotspot name="z105" webvr_hide="true" ... /> </scene> |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »indexofrefraction« (9. Oktober 2019, 10:27)

|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
<events name="webvr_hotspot_hide" keep="true" webvr_onnewscene="webvr_hotspot_hide();" /> <action name="webvr_hotspot_hide" scope="local"> for(set(local.i,0), i LT hotspot.count, inc(i), if(hotspot[get(i)].webvr_hide, if(plugin[webvr].isenabled, copy(hotspot[get(i)].visible_bak, hotspot[get(i)].visible); set(hotspot[get(i)].visible, false); trace(hotspot[get(i)].name,' is now hidden'); , hotspot[get(i)].visible_bak !== null, copy(hotspot[get(i)].visible, hotspot[get(i)].visible_bak); delete(hotspot[get(i)].visible_bak); trace(hotspot[get(i)].name,' is now visible'); ); ); ); </action> <scene name="..." > <hotspot name="z105" webvr_hide="true" ... /> </scene> |
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
<events name="webvr_hotspot_hide" keep="true" webvr_onentervr="webvr_hotspot_hide(true);" webvr_onexitvr="webvr_hotspot_hide(false);" onnewscene="webvr_hotspot_hide();" /> <action name="webvr_hotspot_hide" scope="local" args="hide"> for(set(local.i,0), i LT hotspot.count, inc(i), if(hotspot[get(i)].webvr_hide, if(hide, copy(hotspot[get(i)].visible_bak, hotspot[get(i)].visible); set(hotspot[get(i)].visible, false); trace(hotspot[get(i)].name,' is now hidden'); , hotspot[get(i)].visible_bak !== null, copy(hotspot[get(i)].visible, hotspot[get(i)].visible_bak); delete(hotspot[get(i)].visible_bak); trace(hotspot[get(i)].name,' is now visible'); ); ); ); </action> |
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
<events name="webvr_hotspot_hide" keep="true" onnewscene="webvr_hotspot_hide();" /> <action name="webvr_hotspot_hide" scope="local"> for(set(local.i,0), i LT hotspot.count, inc(i), if(hotspot[get(i)].webvr_hide, if(plugin[webvr].isenabled, copy(hotspot[get(i)].visible_bak, hotspot[get(i)].visible); set(hotspot[get(i)].visible, false); trace(hotspot[get(i)].name,' is now hidden'); , hotspot[get(i)].visible_bak !== null, copy(hotspot[get(i)].visible, hotspot[get(i)].visible_bak); delete(hotspot[get(i)].visible_bak); trace(hotspot[get(i)].name,' is now visible'); ); ); ); </action> <scene name="..." > <hotspot name="z105" webvr_hide="true" ... /> </scene> |
|
|
Quellcode |
1 2 |
<events name="webvr_hotspot_hide" keep="true" onnewscene="webvr_hotspot_hide();" /> <action name="webvr_hotspot_hide" scope="local"> for(set(local.i,0), i LT hotspot.count, inc(i), if(hotspot[get(i)].webvr_hide, if(plugin[webvr].isenabled, copy(hotspot[get(i)].visible_bak, hotspot[get(i)].visible); set(hotspot[get(i)].visible, false); trace(hotspot[get(i)].name,' is now hidden'); , hotspot[get(i)].visible_bak !== null, copy(hotspot[get(i)].visible, hotspot[get(i)].visible_bak); delete(hotspot[get(i)].visible_bak); trace(hotspot[get(i)].name,' is now visible'); ); ); );</action> |
|
|
Quellcode |
1 |
webvr_hide="true" |