Hi Gnome\all.
I've built an apartment showcase.
Two Polygonal Hotspot uses:
Movement Polys:
It uses poly hotspots as large click areas to more around the space.
The hand cursor on hover is useful here, so the user knows they can move somewhere else.
Lets call these poly's "Movements"
Info Polys:
There are some point hotspots that open a sidebar with dynamic information.
These are 'Contained' within another 'type' of poly hotspot.
Those points only become visible when a user mouse-over's this alternative type (using a proxyID and skin settings).
This is so that, for instance, the info point for a vase (point hotspot) will only shows up when you move over the table it's sitting on (poly).
Lets call these alternative poly's "Infos"
The Problem:
I'm trying to get the hand cursor to show just for Movements, but not Infos.
The hand cursor switch in the skin (proxy -> Appearance -> Hand Cursor) doesn't do anything when turned on\off (might only function for points?).
The hand cursor switch in the main settings works, but affect all poly hotspots.
Is there a way to get the hand to show up for one poly type (Movement), but not the other (Infos)?
I have a javascript file I've been using as well, if there's a solution using it.
But I haven't been able to work our a way for the JS to recognise a 'MouseOver' event on a poly hotspot
Turn *off* hand cursor on /some/ Poly hotspots
https://ggnome.com/doc/pano2vr/referenc ... cript-api/
player.setPolyHotspotHandcursor(id: String, enable: Boolean)
Toggles the hand cursor for a specific polygon hotspot. You can use an empty string for id, to target all polygon hotspots.
player.setPolyHotspotHandcursor(id: String, enable: Boolean)
Toggles the hand cursor for a specific polygon hotspot. You can use an empty string for id, to target all polygon hotspots.
-
- Posts: 8
- Joined: Tue Oct 25, 2022 10:44 am
Ah! Thank you!
I'll see if I can get it working.
I'll see if I can get it working.