check the examples, for example this one :
https://krpano.com/releases/1.20.2/examp…orfu-skinselect
and the relevant xml :
https://krpano.com/viewsource.html?relea…/skinselect.xml
to just display a text, you dont need showtext.xml. showtext.xml is only needed for advanced text styles.
https://krpano.com/plugins/showtext/#top
information not moving with the panorama is normally done with layers (layers are defined in screen space)
then there are hotspots, those normally move with the panoramas (hotspots are defined in panorama space)
in the example xml you see the definitions for the buttons on the top left
they are grouped together with an enclosing layer (you could move or hide all together like this)
for just one layer you can also simply define it without grouping :
|
Source code
|
1
|
<layer name="disclaimer" type="text" html="my disclaimer text" align="lefttop" x="20" y="20" keep="true" />
|
you can of course position/style/scale this in many ways
to see all attributes for the layer element, check the layer documentation here:
https://krpano.com/docu/xml/#layer
i guess you want it globally (not only for one scene) then you woud put that layer
under <krpano> ... </krpano> (like in the example) and not inside a <scene ...>...</scene>
keep="true" is needed so that it does not disappear, when you change the scene
(in the example the keep is in the grouping layer, and therfore affects all layers inside it)
the documentation is by the way super great, but true the first steps need some exploring
check the examples and in the "xml reference" and "actions/scripting" reference you get all details
enjoy :)