- What element(argument) should I put in the hotspot to make it invisible on webgl and only vr-mode?
- I'd appreciate it if you could let me know what else to do.
best regard :)
How do you make hotspots that are only seen in VR-MODE?
-
-
Hi,
Start with this code:
Code
Display More<hotspot ... checkvr="if(!webvr.isenabled, set(visible,false))" onloaded="checkvr()" /> <events name="checkvr_ev" keep="true" webvr_onentervr="reload_hotspots()" webvr_onexitvr="reload_hotspots()" /> <action name="reload_hotspots" scope="local" protect="true"> for(set(i,0), i LT hotspot.count, inc(i), callwith(hotpsot[get(i)], checkvr) ); </action>
Piotr
-
Hi,
Start with this code:
Source code
1
2
3
4
5
6
7
8
9
10
11
12
13webvr_onentervr="reload_hotspots()"
webvr_onexitvr="reload_hotspots()"
/>
for(set(i,0), i LT hotspot.count, inc(i),
callwith(hotpsot[get(i)], checkvr)
);
</action>Piotr
Hi,
Start with this code:
Source code
1
2
3
4
5
6
7
8
9
10
11
12
13webvr_onentervr="reload_hotspots()"
webvr_onexitvr="reload_hotspots()"
/>
for(set(i,0), i LT hotspot.count, inc(i),
callwith(hotpsot[get(i)], checkvr)
);
</action>Piotr
Hi,
Start with this code:
Source code
1
2
3
4
5
6
7
8
9
10
11
12
13webvr_onentervr="reload_hotspots()"
webvr_onexitvr="reload_hotspots()"
/>
for(set(i,0), i LT hotspot.count, inc(i),
callwith(hotpsot[get(i)], checkvr)
);
</action>Piotr
Hi,
Start with this code:
Source code
1
2
3
4
5
6
7
8
9
10
11
12
13webvr_onentervr="reload_hotspots()"
webvr_onexitvr="reload_hotspots()"
/>
for(set(i,0), i LT hotspot.count, inc(i),
callwith(hotpsot[get(i)], checkvr)
);
</action>Piotr
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!