Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

Dienstag, 24. Mai 2022, 09:42

remove pluging in a hotspot tag

hi,
I'm working in a vtour and I would to remove a plugin when I change scene.
I think I can do that through hotspot tag like onclick, and with the attribute creating a function to remove a plugin
like this: <hotspot name ="" style ="" linkedscene = "" onclick (removeplugin()) >

I hope someone can help me,
I hope I was clean :)

mario

Beiträge: 1 117

Wohnort: Poland, Europe

Beruf: krpano developer : virtual tours : the cms4vr owner

  • Nachricht senden

2

Dienstag, 24. Mai 2022, 11:09

Hello

https://krpano.com/docu/actions/#removelayer


you must use the name or index of the plugin you wish to remove.


Quellcode

1
<hotspot ... onclick="removeplugin(plugin-name)" />



Piotr
Your own professional, online cloud tool for creating virtual tours - www.cms4vr.com

facebook page :: youtube :: wiki.cms4vr.com

cms4vr team *thumbsup*

3

Dienstag, 24. Mai 2022, 13:22

<plugin ... keep="true" />
the plugin is kept between scenes

<plugin ... keep="false" />
the plugin is removed when changing a scene (default)
https://krpano.com/docu/xml/#plugin.keep

the same for layers / hotspots

4

Mittwoch, 25. Mai 2022, 09:21

how to remove 3d object from the scene

thanks so much,
I will try.

But my goal is to remove the 3d object from the scene.
I thought that if I remove the plugin, I will remove the 3d object too.
Now I can remove the plugin, but the 3d object rests in the scene. I would to remove the object.

mario

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »marioapt« (25. Mai 2022, 10:26)


5

Dienstag, 31. Mai 2022, 15:10

Hi,

How did you add your plugin exactly?

6

Dienstag, 7. Juni 2022, 12:24

hi,
thanks for the question, but I fixed the problem

mario

7

Samstag, 11. März 2023, 14:12

how did you fix that problem?? *huh*
*thumbup* Woody *thumbup* KEEP MOVING FORWARD *thumbup*