Pano2VR Version: 7.0 beta 4a - setPolygonMode Issue

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
HSharma​
Posts: 34
Joined: Wed Aug 02, 2017 2:32 pm

Wed Sep 28, 2022 1:33 pm

Hi,
I have certain poly hotspots which are set to be always hidden in pano2VR.
I created a button, which will toggle these polygon from visible to not visible.
The problem is that when I call pano.setPolygonMode(1,0), the polys are visible, however when I call pano.setPolygonMode(0,0), the Polygon are still visible. In theory they should be invisible now.

Please let me know when will this be fixed.

thanks
Harsh
User avatar
Hopki
Gnome
Posts: 12442
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Wed Sep 28, 2022 3:40 pm

Hi Harsh,
Why not use the skin's actions?
Is there a reason why you are using the javascript calls?
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
HSharma​
Posts: 34
Joined: Wed Aug 02, 2017 2:32 pm

Wed Sep 28, 2022 6:15 pm

Hi Hopki,
Yes, there is a reason I have to use it in Javascript call.. It should, however work irrespective. Right?
User avatar
Hopki
Gnome
Posts: 12442
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Wed Sep 28, 2022 10:23 pm

Hi,
Just tested it and it's working.
Please find attached a project that is using javascript calls.
Regards,
Attachments
poly.zip
(12.87 KiB) Downloaded 14 times
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply