|
Paramètres des hotspots 3D.
Un "hotspot" est un objet graphique, composé d'une image et d'un texte. Il peut se placer dans un espace 3D, et tourner avec la pano. Exemple : Une fléche qui montre une zone cliquable, pour changer de vue.
C'est le paramètre "align", qui détermine si le hotspot est de type 3D ou 2D.
| Paramètre |
Exemple |
Limites |
Unité |
Description |
|
| image: |
"images/hotspot_yellow.png", |
|
text |
URL de l'image |
* |
| active: |
"1", |
0, 1 |
int |
Plugin chargé, ou non chargé. |
|
| align: |
"3d", |
|
|
Création d'un hotspot de type 3D. |
* |
| pan: |
"-120" |
-180 -> +180 |
number |
Position H du spot dans l'espace 3D. |
|
| tilt: |
"0" |
-30 -> +30 |
number |
Position v du spot dans l'espace 3D. |
|
| onClick: |
"pano01", |
|
text |
Lance le panoXX. |
|
| onOver: |
"color", |
|
cmd |
Effet au passage de la souris. |
|
| shadowSize: |
"10", |
0 -> 20 |
number |
Effet d'ombre sur le hotspot. |
|
Paramètres des hotspots 2D.
Quand il est placé dans l'espace 2D, le hotspot peut afficher une image, ou du texte devant le pano (par exemple un logo fixe).
Les hotspots acceptent aussi des paramètres, pour les styles de textes, les effets d'ombres, de couleurs, et de transparences. Un timer permet de choisir la durée d'affichage.
| Paramètre |
Exemple |
Limites |
Unité |
Description |
|
| image: |
"images/hotspot_yellow.png", |
|
text |
URL de l'image |
* |
| active: |
"1", |
0, 1 |
int |
Plugin chargé, ou non chargé. |
|
| align: |
"br", |
|
|
Position (2D) du hotspot dans le cadre: t(op), b(ottom),
l(eft), r(ight) c(enter) ou (tl, tr, bl, br,)
|
* |
| offsetX: |
"10", |
-xxx -> xxx |
px |
Distance horizontale depuis le bord du pano. |
* |
| offsetY: |
"10", |
-yyy -> yyy |
px |
Distance verticale depuis le bord du pano.
|
* |
| textOnly: |
"0", |
0, 1 |
int |
Image + texte ou texte seul. |
|
| textMessage: |
"Click to enter" |
|
text |
Texte affiché dans le spot. |
|
| textPlace: |
"b", |
t, b |
|
Position du texte: t(op), b(ottom). |
|
| textOffset: |
"0", |
0 -> 200 |
number |
Distance entre le texte et l'image. |
|
| textColor: |
"ffffff", |
000000 -> ffffff |
color |
Couleur du texte |
* |
| textBoxColor: |
"000000", |
000000 -> ffffff |
color |
Couleur de fond du cadre texte |
* |
| textBoxCorner: |
"0", |
0 -> 20 |
px |
Valeur de l'arrondi (px) (0 = coins carrés) |
* |
| textBoxAlpha: |
"0", |
0 -> 1 (0.1, 0.2 etc.) |
number |
Transparence du fond (0 = fond invisible, 0.7 = Semi-transparent) |
* |
| textBoxBorder: |
"3", |
0 -> 10 |
px |
Bordure du cadre texte |
|
| textBoxBorderColor: |
"ffffff", |
000000 -> ffffff |
color |
Couleur de bordure du cadre texte |
|
| textBoxShadow: |
"0", |
0 -> 10 |
px |
Ombre du cadre texte |
|
| textPadW: |
"4", |
0 -> xxx |
px |
Padding horizontal du texte dans son cadre |
|
| textPadH: |
"10", |
0 -> yyy |
px |
Padding vertical du texte dans son cadre |
|
| textBold: |
"1", |
0 -> 1 |
integer |
0 = no, 1 = yes |
|
| textItalic: |
"0", |
0 -> 1 |
integer |
0 = no, 1 = yes |
|
| textFont: |
"Tahoma", |
|
text |
Nom de la police a utiliser |
|
| textSize: |
"16", |
2 -> 50 |
px |
Taille de la police |
|
| textAlpha: |
"0.8", |
0 -> 1 (0.1, 0.2 etc.) |
number |
Transparence du texte |
|
| textHideTime: |
"15", |
0 -> 100 |
seconds |
Durée d'affichage du texte (si > 100 le texte reste affiché) |
|
|