Template:LSL Constants/PrimitiveParams/fr

From Second Life Wiki
< Template:LSL Constants/PrimitiveParams
Revision as of 13:42, 15 January 2008 by Gally Young (talk | contribs) (localized to french (not finalized))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template:LSL Constants/PrimitiveParams/sculpt/fr types
Paramètres Paramètres additionels Descriptions
PRIM_TYPE ] 9 [ integer flag ] Renvoie / Paramètre la forme de la prim.
flag Constantes Valeurs des paramètres
PRIM_TYPE_BOX 0 [ integer forme_du_trou, vector découpe, float vide_creu, vector torsion, vector top_size, vector top_shear ]
PRIM_TYPE_CYLINDER 1 [ integer forme_du_trou, vector découpe, float vide_creu, vector torsion, vector top_size, vector top_shear ]
PRIM_TYPE_PRISM 2 [ integer forme_du_trou, vector découpe, float vide_creu, vector torsion, vector top_size, vector top_shear ]
PRIM_TYPE_SPHERE 3 [ integer forme_du_trou, vector découpe, float vide_creu, vector torsion, vector dimple]
PRIM_TYPE_TORUS 4 [ integer forme_du_trou, vector découpe, float vide_creu, vector torsion, vector taille_du_trou, vector top_shear, vector advanced_cut, vector taper, float rotations, float angle d'offset, float inclinaison ]
PRIM_TYPE_TUBE 5 [ integer forme_du_trou, vector découpe, float vide_creu, vector torsion, vector taille_du_trou, vector top_shear, vector advanced_cut, vector taper, float rotations, float angle d'offset, float inclinaison ]
PRIM_TYPE_RING 6 [ integer forme_du_trou, vector découpe, float vide_creu, vector torsion, vector taille_du_trou, vector top_shear, vector advanced_cut, vector taper, float rotations, float angle d'offset, float inclinaison ]
PRIM_TYPE_SCULPT 7 [ string textureinteger type ] Sculpted_Prims:_FAQ
  forme_du_trou Flags Shape forme_du_trou Flags Shape
PRIM_HOLE_DEFAULT 0x00 Default PRIM_HOLE_SQUARE 0x20 Square
PRIM_HOLE_CIRCLE 0x10 Circle PRIM_HOLE_TRIANGLE 0x30 Triangle
PRIM_MATERIAL ] 2 [ integer flag] Gets / Sets la matiere de la prim. La métiere determine les type de son de colision & de sprite.
flag constante Description des codes
PRIM_MATERIAL_STONE 0 pierre
PRIM_MATERIAL_METAL 1 métal
PRIM_MATERIAL_GLASS 2 verre
PRIM_MATERIAL_WOOD 3 bois
PRIM_MATERIAL_FLESH 4 chair
PRIM_MATERIAL_PLASTIC 5 plastique
PRIM_MATERIAL_RUBBER 6 caoutchouc
PRIM_MATERIAL_LIGHT 7 light, SUPPRIME: a le même effet que [ PRIM_FULLBRIGHT, ALL_SIDES, TRUE ]
PRIM_PHYSICS ] 3 [ integer booléen ] Statut "physique" llGetStatus / llSetStatus
PRIM_TEMP_ON_REZ ] 4 [ integer booléen ] Objet temporaire llGetStatus / llSetStatus
PRIM_PHANTOM ] 5 [ integer booléen ] Statut "fantôme" llGetStatus / llSetStatus
PRIM_POSITION ] 6 [ vector position ] Position, llGetPos / llSetRot
PRIM_ROTATION ] 8 [ rotation rot ] Rotation, llGetPos / llSetRot
PRIM_SIZE ] 7 [ vector taille ] taille, llGetScale / llSetScale
PRIM_TEXTURE, integer face ] 17 [ string texture, vector répétitions, vector offsets, float rotation_in_radians ]
Texture: llGetTexture llSetTexture
Repeats: llGetTextureScale llScaleTexture
Offset: llGetTextureOffset llOffsetTexture
Rotation: llGetTextureRot llRotateTexture
PRIM_COLOR, integer face ] 18 [ vector couleur, float transparence ]
Alpha: llGetAlpha llSetAlpha
Color: llGetColor llSetColor
PRIM_BUMP_SHINY, integer face ] 19 [ integer shiny, integer bump ]
shiny & bump Constantes Description
PRIM_SHINY_NONE 0 none
PRIM_SHINY_LOW 1 bas
PRIM_SHINY_MEDIUM 2 moyen
PRIM_SHINY_HIGH 3 haut
PRIM_BUMP_NONE 0 none: aucun effet
PRIM_BUMP_BRIGHT 1 brillance: generé par les lumières intenses
PRIM_BUMP_DARK 2 obscurité: généré par les lumières basses
PRIM_BUMP_WOOD 3 grain de bois
PRIM_BUMP_BARK 4 écorce
PRIM_BUMP_BRICKS 5 brique
PRIM_BUMP_CHECKER 6 checker(?)
PRIM_BUMP_CONCRETE 7 béton
PRIM_BUMP_TILE 8 croute
PRIM_BUMP_STONE 9 Pierre: blocs
PRIM_BUMP_DISKS 10 disque
PRIM_BUMP_GRAVEL 11 gravier
PRIM_BUMP_BLOBS 12 Petri
PRIM_BUMP_SIDING 13 siding(?)
PRIM_BUMP_LARGETILE 14 pierre
PRIM_BUMP_STUCCO 15 stuc
PRIM_BUMP_SUCTION 16 suction: rings(?)
PRIM_BUMP_WEAVE 17 textile
PRIM_FULLBRIGHT, integer face ] 20 [ integer booléen ]
PRIM_FLEXIBLE ] 21 [ integer booléen, integer softness, float gravité, float friction, float vent, float tension, vector force ]
PRIM_CAST_SHADOWS ] 24 [ integer booléen ] génération d'ombre par la prim
PRIM_TEXGEN, integer face ] 22 [ integer type ]
type Constantes Description
PRIM_TEXGEN_DEFAULT 0
PRIM_TEXGEN_PLANAR 1
PRIM_POINT_LIGHT ] 23 [ integer booléen, vector couleur, float entensité, float rayon, float chute ]
[ 1 ]
PRIM_TYPE_LEGACY
1 [ integer flag, parametres ]
flag Constantes codification des parametres
PRIM_TYPE_BOX 0 [ vector découpe, float vide_creu, float twist_end, vector top_size, vector top_shear ]
PRIM_TYPE_CYLINDER 1 [ vector découpe, float vide_creu, float twist_end, vector top_size, vector top_shear ]
PRIM_TYPE_PRISM 2 [ vector découpe, float vide_creu, float twist_end, vector top_size, vector top_shear ]
PRIM_TYPE_SPHERE 3 [ vector découpe, float vide_creu, vector dimple ]
PRIM_TYPE_TORUS 4 [ vector découpe, float vide_creu, float fin de torsion, float taille du trou Y, vector top_shear, vector advanced_cut ]
PRIM_TYPE_TUBE 5 [ vector découpe, float vide_creu, float fin de torsion, float topshear_x ]

Caveats

  • Si face correspond à une face qui n'existe pas, alors la fonction renvoie comme flag la valeur :...
flag Renvoyé si la face n'est pas valide
[ PRIM_TEXTURE ] [ "", ZERO_VECTOR, ZERO_VECTOR, 0.0 ]
[ PRIM_COLOR ] [ ZERO_VECTOR, 0.0 ]
[ PRIM_BUMP_SHINY ] [ PRIM_SHINY_NONE, PRIM_BUMP_NONE ]
[ PRIM_FULLBRIGHT ] [ FALSE ]
[ PRIM_TEXGEN ] [ PRIM_TEXGEN_DEFAULT ]
  • Si map n'est pas dans l'inventaire de la prim et n'est pas un UUID ou n'est pas un texture alors une erreur se produit sur le canal DEBUG_CHANNEL.
  • Si map est une UUID il n'y a alors aucune conséquence sur les droits de l'objet.
    • L'objet final ne subit pas de nouvelle restriction d'utilisation qui aurait pu être appliquée si l'objet pointé par l'UUID avait été présent dans l'inventaire de la prim.
  • Si texture n'est pas dans l'inventaire de la prim et n'est pas un UUID ou n'est pas un texture alors une erreur se produit sur le canal DEBUG_CHANNEL.
  • Si texture est une UUID il n'y a alors aucune conséquence sur les droits de l'objet.
    • L'objet final ne subit pas de nouvelle restriction d'utilisation qui aurait pu être appliquée si l'objet pointé par l'UUID avait été présent dans l'inventaire de la prim.

LSL Constants/PrimitiveParams