How do I make a hotspot appear only when the view is looking at a specific area?
Best
hotspot appear only looking at a specific area
-
-
Have a function called by onviewchanged.
In the function check if the viewer looks at the area with
if
view.hlookat between h-min and h-max of your area
AND
view.vlookat between v-min and v-max of your area
then
set hotspot visible
else
set hotspot invisble -
-
thanks, I'll try it.
Best -
Hi,
Here some reference and some old posts
https://krpano.com/docu/actions/#getlooktodistance
https://krpano.com/forum/wbb/inde…63262#post63262
https://krpano.com/forum/wbb/inde…85014#post85014best is to do a search for getlooktodistance!
Tuur
#getlooktodistance #hotspot #visible #range
-
Thanks
best
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!