Difference between revisions of "CHANGED COLOR/fr"
Jump to navigation
Jump to search
Gally Young (talk | contribs) m (fixe) |
m (example now in lsl syntax highlighting...) |
||
Line 5: | Line 5: | ||
|desc=La couleur ou la transparence (alpha) a changé | |desc=La couleur ou la transparence (alpha) a changé | ||
|examples= | |examples= | ||
< | <lsl> | ||
default | default | ||
{ | { | ||
Line 16: | Line 16: | ||
} | } | ||
} | } | ||
</ | </lsl> | ||
|functions= | |functions= | ||
{{LSL DefineRow||[[llSetAlpha/fr|llSetAlpha]]|Permet de changer la transparence (alpha) du prim}} | {{LSL DefineRow||[[llSetAlpha/fr|llSetAlpha]]|Permet de changer la transparence (alpha) du prim}} |
Latest revision as of 15:46, 27 July 2008
LSL Portail Francophone | LSL Portail Anglophone | Fonctions | Évènements | Types | Operateurs | Constantes | Contrôle d'exécution | Bibliothèque | Tutoriels |
Description
Constante: integer CHANGED_COLOR = 0x2;La constante CHANGED_COLOR de type integer a la valeur 0x2
La couleur ou la transparence (alpha) a changé
Articles connexes
Fonctions
• | llSetAlpha | – | Permet de changer la transparence (alpha) du prim | |
• | llSetColor | – | Permet de changer la couleur du prim | |
• | llSetPrimitiveParams | – | Permet de changer les paramètres du prim | |
• | llSetLinkAlpha | – | Permet de changer la transparence (alpha) d'un prim lié | |
• | llSetLinkColor | – | Permet de changer la couleur d'un prim lié | |
• | llSetLinkPrimitiveParams | – | Permet de changer les paramètres d'un prim lié |
Evénement
• | changed |
Exemples
<lsl> default {
changed(integer change) { if (change & CHANGED_COLOR) //vous remarquerez que l'on utilise & et non && car il s'agit d'une comparaison bit à bit. { llOwnerSay("The color or alpha changed."); } }
} </lsl>