PRIM BUMP SHINY/fr
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
LSL Portail Francophone | LSL Portail Anglophone | Fonctions | Évènements | Types | Operateurs | Constantes | Contrôle d'exécution | Bibliothèque | Tutoriels |
Description
Constante: integer PRIM_BUMP_SHINY = 19;La constante PRIM_BUMP_SHINY de type integer a la valeur 19
Utilisé pour obtenir ou modifier les effets matiére et luisant de la face d'une prim.
Codes luisant & matière | Description | ||||||
---|---|---|---|---|---|---|---|
PRIM_SHINY_NONE | 0 | aucun | |||||
PRIM_SHINY_LOW | 1 | bas | |||||
PRIM_SHINY_MEDIUM | 2 | moyen | |||||
PRIM_SHINY_HIGH | 3 | haut | |||||
PRIM_BUMP_NONE | 0 | aucun effet | |||||
PRIM_BUMP_BRIGHT | 1 | luminosité: généré par les lumières intenses | |||||
PRIM_BUMP_DARK | 2 | obscurité: généré par les lumières basses | |||||
PRIM_BUMP_WOOD | 3 | aggloméré | |||||
PRIM_BUMP_BARK | 4 | écorce | |||||
PRIM_BUMP_BRICKS | 5 | brique | |||||
PRIM_BUMP_CHECKER | 6 | damier | |||||
PRIM_BUMP_CONCRETE | 7 | béton | |||||
PRIM_BUMP_TILE | 8 | carrelage | |||||
PRIM_BUMP_STONE | 9 | pierre de taille | |||||
PRIM_BUMP_DISKS | 10 | disque | |||||
PRIM_BUMP_GRAVEL | 11 | gravier | |||||
PRIM_BUMP_BLOBS | 12 | boîte de Petri | |||||
PRIM_BUMP_SIDING | 13 | latte | |||||
PRIM_BUMP_LARGETILE | 14 | pierre | |||||
PRIM_BUMP_STUCCO | 15 | stuc | |||||
PRIM_BUMP_SUCTION | 16 | effet aspiration | |||||
PRIM_BUMP_WEAVE | 17 | texture |
llSetPrimitiveParams
[ PRIM_BUMP_SHINY, integer face, integer brillant, integer matière ]• integer | face | – | N° de face ou ALL_SIDES | |
• integer | brillant | – | Codes PRIM_SHINY_* | |
• integer | matière | – | Codes PRIM_BUMP_* |
Lorsque ce code est utilisé avec llSetPrimitiveParams & llSetLinkPrimitiveParams
llGetPrimitiveParams
llGetPrimitiveParams([ PRIM_BUMP_SHINY, integer face ]);Renvoie le list [ integer brillant, integer matière ]
• integer | face | – | N° de face ou ALL_SIDES | ||
• integer | brillant | – | Codes PRIM_SHINY_* | ||
• integer | matière | – | Codes PRIM_BUMP_* |
Attention
- Si face vaut ALL_SIDES alors PRIM_BUMP_SHINY s'applique à toutes les faces.
- Si face correspond à une face qui n'existe pas, alors la fonction renvoie comme PRIM_BUMP_SHINY la valeur :[ PRIM_SHINY_NONE, PRIM_BUMP_NONE ]
Articles connexes
Constantes
• | CHANGED_TEXTURE | – | Valeur utilisée dans l'évenement changed |
Fonctions
• | llSetPrimitiveParams | – | Permet de modifier les paramètres d'une prim. | |
• | llSetLinkPrimitiveParams | – | Permet de modifier les paramètres d'une prim liée. | |
• | llGetPrimitiveParams | – | Permet d'obtenir les paramètres d'une prim. |
Evénement
• | changed | – | Evènement généré lorsque la prim est modifiée. |