Difference between revisions of "Template:LSL Constants/PrimitiveParams/fr"

From Second Life Wiki
Jump to navigation Jump to search
m (fixes)
m (fixes)
Line 56: Line 56:
! colspan="6" {{!}} Descriptions
! colspan="6" {{!}} Descriptions
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_TYPE|integer|9|b=[ |e= ]|s=rowspan="18"}}
{{LSL ConstTB/fr|PRIM_TYPE|integer|9|b=[ |e= ]|s=rowspan="18"}}
{{!}} colspan="2" {{!}} [ [[integer]] {{HoverText|Codes|codes PRIM_TYPE_*}} ]
{{!}} colspan="2" {{!}} [ [[integer]] {{HoverText|Codes|codes PRIM_TYPE_*}} ]
{{!}} colspan="6" {{!}} {{GetSet|{{{1|}}}|Renvoie|Modifie}} la forme de la prim.
{{!}} colspan="6" {{!}} {{GetSet|{{{1|}}}|Renvoie|Modifie}} la forme de la prim.
Line 63: Line 63:
! colspan="6" {{!}} Valeurs des paramètres
! colspan="6" {{!}} Valeurs des paramètres
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_TYPE_BOX|integer|0}}
{{LSL ConstTB/fr|PRIM_TYPE_BOX|integer|0}}
{{!}} colspan="6" {{!}} [ [[integer]] {{LSL Param/fr|hole_shape|forme_du_trou}}, [[vector]] {{LSL Param/fr|cut|découpe}}, [[float]] {{LSL Param/fr|hollow|creux}}, [[vector]] {{LSL Param/fr|twist_box|torsion}}, [[vector]] {{LSL Param/fr|z_taper|différence_de_taille}}, [[vector]] {{LSL Param/fr|top_shear|translation_des_faces}} ]
{{!}} colspan="6" {{!}} [ [[integer]] {{LSL Param/fr|hole_shape|forme_du_trou}}, [[vector]] {{LSL Param/fr|cut|découpe}}, [[float]] {{LSL Param/fr|hollow|creux}}, [[vector]] {{LSL Param/fr|twist_box|torsion}}, [[vector]] {{LSL Param/fr|z_taper|différence_de_taille}}, [[vector]] {{LSL Param/fr|top_shear|translation_des_faces}} ]
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_TYPE_CYLINDER|integer|1}}
{{LSL ConstTB/fr|PRIM_TYPE_CYLINDER|integer|1}}
{{!}} colspan="6" {{!}} [ [[integer]] {{LSL Param/fr|hole_shape|forme_du_trou}}, [[vector]] {{LSL Param/fr|cut|découpe}}, [[float]] {{LSL Param/fr|hollow|creux}}, [[vector]] {{LSL Param/fr|twist_box|torsion}}, [[vector]] {{LSL Param/fr|z_taper|différence_de_taille}}, [[vector]] {{LSL Param/fr|top_shear|translation_des_faces}} ]
{{!}} colspan="6" {{!}} [ [[integer]] {{LSL Param/fr|hole_shape|forme_du_trou}}, [[vector]] {{LSL Param/fr|cut|découpe}}, [[float]] {{LSL Param/fr|hollow|creux}}, [[vector]] {{LSL Param/fr|twist_box|torsion}}, [[vector]] {{LSL Param/fr|z_taper|différence_de_taille}}, [[vector]] {{LSL Param/fr|top_shear|translation_des_faces}} ]
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_TYPE_PRISM|integer|2}}
{{LSL ConstTB/fr|PRIM_TYPE_PRISM|integer|2}}
{{!}} colspan="6" {{!}} [ [[integer]] {{LSL Param/fr|hole_shape|forme_du_trou}}, [[vector]] {{LSL Param/fr|cut|découpe}}, [[float]] {{LSL Param/fr|hollow|creux}}, [[vector]] {{LSL Param/fr|twist_box|torsion}}, [[vector]] {{LSL Param/fr|z_taper|différence_de_taille}}, [[vector]] {{LSL Param/fr|top_shear|translation_des_faces}} ]
{{!}} colspan="6" {{!}} [ [[integer]] {{LSL Param/fr|hole_shape|forme_du_trou}}, [[vector]] {{LSL Param/fr|cut|découpe}}, [[float]] {{LSL Param/fr|hollow|creux}}, [[vector]] {{LSL Param/fr|twist_box|torsion}}, [[vector]] {{LSL Param/fr|z_taper|différence_de_taille}}, [[vector]] {{LSL Param/fr|top_shear|translation_des_faces}} ]
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_TYPE_SPHERE|integer|3}}
{{LSL ConstTB/fr|PRIM_TYPE_SPHERE|integer|3}}
{{!}} colspan="6" {{!}} [ [[integer]] {{LSL Param/fr|hole_shape|forme_du_trou}}, [[vector]] {{LSL Param/fr|cut|découpe}}, [[float]] {{LSL Param/fr|hollow|creux}}, [[vector]] {{LSL Param/fr|twist_torus|torsion}}, [[vector]] {{LSL Param/fr|cut|trou}}]
{{!}} colspan="6" {{!}} [ [[integer]] {{LSL Param/fr|hole_shape|forme_du_trou}}, [[vector]] {{LSL Param/fr|cut|découpe}}, [[float]] {{LSL Param/fr|hollow|creux}}, [[vector]] {{LSL Param/fr|twist_torus|torsion}}, [[vector]] {{LSL Param/fr|cut|trou}}]
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_TYPE_TORUS|integer|4}}
{{LSL ConstTB/fr|PRIM_TYPE_TORUS|integer|4}}
{{!}} colspan="6" {{!}} [ [[integer]] {{LSL Param/fr|hole_shape|forme_du_trou}}, [[vector]] {{LSL Param/fr|cut|découpe}}, [[float]] {{LSL Param/fr|hollow|creux}}, [[vector]] {{LSL Param/fr|twist_torus|torsion}}, [[vector]] {{LSL Param/fr|hole_size|taille_du_trou}}, [[vector]] {{LSL Param/fr|top_shear|translation_des_faces}}, [[vector]] {{LSL Param/fr|cut|découpage_avancé}}, [[vector]] {{LSL Param/fr|taper|écart_taille_disque}}, [[float]] {{LSL Param/fr|revolutions|rotations}}, [[float]] {{LSL Param/fr|radius_offset|angle d'offset}}, [[float]] {{LSL Param/fr|skew|inclinaison}} ]
{{!}} colspan="6" {{!}} [ [[integer]] {{LSL Param/fr|hole_shape|forme_du_trou}}, [[vector]] {{LSL Param/fr|cut|découpe}}, [[float]] {{LSL Param/fr|hollow|creux}}, [[vector]] {{LSL Param/fr|twist_torus|torsion}}, [[vector]] {{LSL Param/fr|hole_size|taille_du_trou}}, [[vector]] {{LSL Param/fr|top_shear|translation_des_faces}}, [[vector]] {{LSL Param/fr|cut|découpage_avancé}}, [[vector]] {{LSL Param/fr|taper|écart_taille_disque}}, [[float]] {{LSL Param/fr|revolutions|rotations}}, [[float]] {{LSL Param/fr|radius_offset|angle d'offset}}, [[float]] {{LSL Param/fr|skew|inclinaison}} ]
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_TYPE_TUBE|integer|5}}
{{LSL ConstTB/fr|PRIM_TYPE_TUBE|integer|5}}
{{!}} colspan="6" {{!}} [ [[integer]] {{LSL Param/fr|hole_shape|forme_du_trou}}, [[vector]] {{LSL Param/fr|cut|découpe}}, [[float]] {{LSL Param/fr|hollow|creux}}, [[vector]] {{LSL Param/fr|twist_torus|torsion}}, [[vector]] {{LSL Param/fr|hole_size|taille_du_trou}}, [[vector]] {{LSL Param/fr|top_shear|translation_des_faces}}, [[vector]] {{LSL Param/fr|cut|découpage_avancé}}, [[vector]] {{LSL Param/fr|taper|écart_taille_disque}}, [[float]] {{LSL Param/fr|revolutions|rotations}}, [[float]] {{LSL Param/fr|radius_offset|angle d'offset}}, [[float]] {{LSL Param/fr|skew|inclinaison}} ]
{{!}} colspan="6" {{!}} [ [[integer]] {{LSL Param/fr|hole_shape|forme_du_trou}}, [[vector]] {{LSL Param/fr|cut|découpe}}, [[float]] {{LSL Param/fr|hollow|creux}}, [[vector]] {{LSL Param/fr|twist_torus|torsion}}, [[vector]] {{LSL Param/fr|hole_size|taille_du_trou}}, [[vector]] {{LSL Param/fr|top_shear|translation_des_faces}}, [[vector]] {{LSL Param/fr|cut|découpage_avancé}}, [[vector]] {{LSL Param/fr|taper|écart_taille_disque}}, [[float]] {{LSL Param/fr|revolutions|rotations}}, [[float]] {{LSL Param/fr|radius_offset|angle d'offset}}, [[float]] {{LSL Param/fr|skew|inclinaison}} ]
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_TYPE_RING|integer|6}}
{{LSL ConstTB/fr|PRIM_TYPE_RING|integer|6}}
{{!}} colspan="6" {{!}} [ [[integer]] {{LSL Param/fr|hole_shape|forme_du_trou}}, [[vector]] {{LSL Param/fr|cut|découpe}}, [[float]] {{LSL Param/fr|hollow|creux}}, [[vector]] {{LSL Param/fr|twist_torus|torsion}}, [[vector]] {{LSL Param/fr|hole_size|taille_du_trou}}, [[vector]] {{LSL Param/fr|top_shear|translation_des_faces}}, [[vector]] {{LSL Param/fr|cut|découpage_avancé}}, [[vector]] {{LSL Param/fr|taper|écart_taille_disque}}, [[float]] {{LSL Param/fr|revolutions|rotations}}, [[float]] {{LSL Param/fr|radius_offset|angle d'offset}}, [[float]] {{LSL Param/fr|skew|inclinaison}} ]
{{!}} colspan="6" {{!}} [ [[integer]] {{LSL Param/fr|hole_shape|forme_du_trou}}, [[vector]] {{LSL Param/fr|cut|découpe}}, [[float]] {{LSL Param/fr|hollow|creux}}, [[vector]] {{LSL Param/fr|twist_torus|torsion}}, [[vector]] {{LSL Param/fr|hole_size|taille_du_trou}}, [[vector]] {{LSL Param/fr|top_shear|translation_des_faces}}, [[vector]] {{LSL Param/fr|cut|découpage_avancé}}, [[vector]] {{LSL Param/fr|taper|écart_taille_disque}}, [[float]] {{LSL Param/fr|revolutions|rotations}}, [[float]] {{LSL Param/fr|radius_offset|angle d'offset}}, [[float]] {{LSL Param/fr|skew|inclinaison}} ]
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_TYPE_SCULPT|integer|7}}
{{LSL ConstTB/fr|PRIM_TYPE_SCULPT|integer|7}}
{{!}} colspan="6" {{!}} [ [[string]] {{LSL Param/fr|map|texture}}, [[integer]] {{LSL Param/fr|type}} ] [[Sculpted_Prims:_FAQ/fr|Sculpted_Prims:_FAQ]]
{{!}} colspan="6" {{!}} [ [[string]] {{LSL Param/fr|map|texture}}, [[integer]] {{LSL Param/fr|type}} ] [[Sculpted_Prims:_FAQ/fr|Sculpted_Prims:_FAQ]]
{{!}}-
{{!}}-
Line 93: Line 93:
!{{!}} Formes
!{{!}} Formes
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_HOLE_DEFAULT|integer|hex=0x00}}
{{LSL ConstTB/fr|PRIM_HOLE_DEFAULT|integer|hex=0x00}}
{{!!}} Par défaut
{{!!}} Par défaut
{{LSL ConstTB|PRIM_HOLE_SQUARE|integer|hex=0x20}}
{{LSL ConstTB/fr|PRIM_HOLE_SQUARE|integer|hex=0x20}}
{{!!}} Carré
{{!!}} Carré
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_HOLE_CIRCLE|integer|hex=0x10}}
{{LSL ConstTB/fr|PRIM_HOLE_CIRCLE|integer|hex=0x10}}
{{!!}} Cercle
{{!!}} Cercle
{{LSL ConstTB|PRIM_HOLE_TRIANGLE|integer|hex=0x30}}
{{LSL ConstTB/fr|PRIM_HOLE_TRIANGLE|integer|hex=0x30}}
{{!!}} Triangle
{{!!}} Triangle
{{!}}-
{{!}}-
Line 107: Line 107:
{{!}} colspan="10" {{!}}
{{!}} colspan="10" {{!}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_MATERIAL|integer|2|b=[ |e= ]|s=rowspan="10"}}
{{LSL ConstTB/fr|PRIM_MATERIAL|integer|2|b=[ |e= ]|s=rowspan="10"}}
{{!}} colspan="2" {{!}} [ [[integer]] {{HoverText|Valeurs|codes PRIM_MATERIAL_*}}]
{{!}} colspan="2" {{!}} [ [[integer]] {{HoverText|Valeurs|codes PRIM_MATERIAL_*}}]
{{!}} colspan="6" {{!}} {{GetSet|{{{1|}}}|Renvoie|Modifie}} la matière de la prim. La matière détermine les types de [[llCollisionSound/fr|son de colision]] & de  [[llCollisionSprite/fr|sprite]].
{{!}} colspan="6" {{!}} {{GetSet|{{{1|}}}|Renvoie|Modifie}} la matière de la prim. La matière détermine les types de [[llCollisionSound/fr|son de colision]] & de  [[llCollisionSprite/fr|sprite]].
Line 114: Line 114:
! colspan="6" {{!}} Description des codes
! colspan="6" {{!}} Description des codes
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_MATERIAL_STONE|integer|0|m=3|s3=colspan="6"|c=Pierre}}
{{LSL ConstTB/fr|PRIM_MATERIAL_STONE|integer|0|m=3|s3=colspan="6"|c=Pierre}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_MATERIAL_METAL|integer|1|m=3|s3=colspan="6"|c=Métal}}
{{LSL ConstTB/fr|PRIM_MATERIAL_METAL|integer|1|m=3|s3=colspan="6"|c=Métal}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_MATERIAL_GLASS|integer|2|m=3|s3=colspan="6"|c=Verre}}
{{LSL ConstTB/fr|PRIM_MATERIAL_GLASS|integer|2|m=3|s3=colspan="6"|c=Verre}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_MATERIAL_WOOD|integer|3|m=3|s3=colspan="6"|c=Bois}}
{{LSL ConstTB/fr|PRIM_MATERIAL_WOOD|integer|3|m=3|s3=colspan="6"|c=Bois}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_MATERIAL_FLESH|integer|4|m=3|s3=colspan="6"|c=Chair}}
{{LSL ConstTB/fr|PRIM_MATERIAL_FLESH|integer|4|m=3|s3=colspan="6"|c=Chair}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_MATERIAL_PLASTIC|integer|5|m=3|s3=colspan="6"|c=Plastique}}
{{LSL ConstTB/fr|PRIM_MATERIAL_PLASTIC|integer|5|m=3|s3=colspan="6"|c=Plastique}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_MATERIAL_RUBBER|integer|6|m=3|s3=colspan="6"|c=Caoutchouc}}
{{LSL ConstTB/fr|PRIM_MATERIAL_RUBBER|integer|6|m=3|s3=colspan="6"|c=Caoutchouc}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_MATERIAL_LIGHT|integer|7|b=<s>|e=</s>|c=lumière, SUPPRIME: A le même effet que [&nbsp;PRIM_FULLBRIGHT, ALL_SIDES, TRUE&nbsp;]}}
{{LSL ConstTB/fr|PRIM_MATERIAL_LIGHT|integer|7|b=<s>|e=</s>|c=lumière, SUPPRIME: A le même effet que [&nbsp;PRIM_FULLBRIGHT, ALL_SIDES, TRUE&nbsp;]}}
{{!}} colspan="6" {{!}}Lumière, '''SUPPRIME''': a le même effet que [&nbsp;[[PRIM_FULLBRIGHT/fr|PRIM_FULLBRIGHT]], [[ALL_SIDES/fr|ALL_SIDES]], [[TRUE]]&nbsp;]
{{!}} colspan="6" {{!}}Lumière, '''SUPPRIME''': a le même effet que [&nbsp;[[PRIM_FULLBRIGHT/fr|PRIM_FULLBRIGHT]], [[ALL_SIDES/fr|ALL_SIDES]], [[TRUE]]&nbsp;]
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_PHYSICS|integer|3|b=[&nbsp;|e=&nbsp;]}}
{{LSL ConstTB/fr|PRIM_PHYSICS|integer|3|b=[&nbsp;|e=&nbsp;]}}
{{!}} colspan="5" {{!}} [ [[integer]]&nbsp;{{LSL Param/fr|boolean|booléen}}&nbsp;]
{{!}} colspan="5" {{!}} [ [[integer]]&nbsp;{{LSL Param/fr|boolean|booléen}}&nbsp;]
{{!}} colspan="3" {{!}} Statut "physique" {{GetSet|{{{1|}}}|[[llGetStatus/fr|llGetStatus]]|[[llSetStatus/fr|llSetStatus]]}}
{{!}} colspan="3" {{!}} Statut "physique" {{GetSet|{{{1|}}}|[[llGetStatus/fr|llGetStatus]]|[[llSetStatus/fr|llSetStatus]]}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_TEMP_ON_REZ|integer|4|b=[&nbsp;|e=&nbsp;]}}
{{LSL ConstTB/fr|PRIM_TEMP_ON_REZ|integer|4|b=[&nbsp;|e=&nbsp;]}}
{{!}} colspan="5" {{!}} [ [[integer]]&nbsp;{{LSL Param/fr|boolean|booléen}}&nbsp;]
{{!}} colspan="5" {{!}} [ [[integer]]&nbsp;{{LSL Param/fr|boolean|booléen}}&nbsp;]
{{!}} colspan="3" {{!}} Objet temporaire {{GetSet|{{{1|}}}|[[llGetStatus/fr|llGetStatus]]|[[llSetStatus/fr|llSetStatus]]}}
{{!}} colspan="3" {{!}} Objet temporaire {{GetSet|{{{1|}}}|[[llGetStatus/fr|llGetStatus]]|[[llSetStatus/fr|llSetStatus]]}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_PHANTOM|integer|5|b=[&nbsp;|e=&nbsp;]}}
{{LSL ConstTB/fr|PRIM_PHANTOM|integer|5|b=[&nbsp;|e=&nbsp;]}}
{{!}} colspan="5" {{!}} [ [[integer]]&nbsp;{{LSL Param/fr|boolean|booléen}}&nbsp;]
{{!}} colspan="5" {{!}} [ [[integer]]&nbsp;{{LSL Param/fr|boolean|booléen}}&nbsp;]
{{!}} colspan="3" {{!}} Statut "fantôme" {{GetSet|{{{1|}}}|[[llGetStatus/fr|llGetStatus]]|[[llSetStatus/fr|llSetStatus]]}}
{{!}} colspan="3" {{!}} Statut "fantôme" {{GetSet|{{{1|}}}|[[llGetStatus/fr|llGetStatus]]|[[llSetStatus/fr|llSetStatus]]}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_POSITION|integer|6|b=[&nbsp;|e=&nbsp;]}}
{{LSL ConstTB/fr|PRIM_POSITION|integer|6|b=[&nbsp;|e=&nbsp;]}}
{{!}} colspan="5" {{!}} [ [[vector]]&nbsp;{{LSL Param/fr|position}}&nbsp;]
{{!}} colspan="5" {{!}} [ [[vector]]&nbsp;{{LSL Param/fr|position}}&nbsp;]
{{!}} colspan="3" {{!}} Position, {{GetSet|{{{1|}}}|[[llGetPos/fr|llGetPos]]|[[llSetPos/fr|llSetRot]]}}
{{!}} colspan="3" {{!}} Position, {{GetSet|{{{1|}}}|[[llGetPos/fr|llGetPos]]|[[llSetPos/fr|llSetRot]]}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_ROTATION|integer|8|b=[&nbsp;|e=&nbsp;]}}
{{LSL ConstTB/fr|PRIM_ROTATION|integer|8|b=[&nbsp;|e=&nbsp;]}}
{{!}} colspan="5" {{!}} [ [[rotation/fr|rotation]]&nbsp;{{LSL Param/fr|rot}}&nbsp;]
{{!}} colspan="5" {{!}} [ [[rotation/fr|rotation]]&nbsp;{{LSL Param/fr|rot}}&nbsp;]
{{!}} colspan="3" {{!}} Rotation, {{GetSet|{{{1|}}}|[[llGetRot/fr|llGetPos]]|[[llSetRot/fr|llSetRot]]}}
{{!}} colspan="3" {{!}} Rotation, {{GetSet|{{{1|}}}|[[llGetRot/fr|llGetPos]]|[[llSetRot/fr|llSetRot]]}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_SIZE|integer|7|b=[&nbsp;|e=&nbsp;]}}
{{LSL ConstTB/fr|PRIM_SIZE|integer|7|b=[&nbsp;|e=&nbsp;]}}
{{!}} colspan="5" {{!}} [ [[vector]]&nbsp;{{LSL Param/fr|size|taille}}&nbsp;]
{{!}} colspan="5" {{!}} [ [[vector]]&nbsp;{{LSL Param/fr|size|taille}}&nbsp;]
{{!}} colspan="3" {{!}} taille, {{GetSet|{{{1|}}}|[[llGetScale/fr|llGetScale]]|[[llSetScale/fr|llSetScale]]}}
{{!}} colspan="3" {{!}} taille, {{GetSet|{{{1|}}}|[[llGetScale/fr|llGetScale]]|[[llSetScale/fr|llSetScale]]}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_TEXTURE|integer|17|b=[&nbsp;|e=, [[integer]]&nbsp;{{LSL Param/fr|face}}&nbsp;]}}
{{LSL ConstTB/fr|PRIM_TEXTURE|integer|17|b=[&nbsp;|e=, [[integer]]&nbsp;{{LSL Param/fr|face}}&nbsp;]}}
{{!}} colspan="5" {{!}} [ [[string]]&nbsp;{{LSL Param/fr|texture}}, [[vector]]&nbsp;{{LSL Param/fr|repeats|répétitions}}, [[vector]]&nbsp;{{LSL Param/fr|offsets}}, [[float]]&nbsp;{{LSL Param/fr|rotation_in_radians|Rotation en radians}}&nbsp;]
{{!}} colspan="5" {{!}} [ [[string]]&nbsp;{{LSL Param/fr|texture}}, [[vector]]&nbsp;{{LSL Param/fr|repeats|répétitions}}, [[vector]]&nbsp;{{LSL Param/fr|offsets}}, [[float]]&nbsp;{{LSL Param/fr|rotation_in_radians|Rotation en radians}}&nbsp;]
{{!}} colspan="3" {{!}}
{{!}} colspan="3" {{!}}
Line 168: Line 168:
{{!}}}
{{!}}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_COLOR|integer|18|b=[&nbsp;|e=, [[integer]]&nbsp;{{LSL Param/fr|face}}&nbsp;]}}
{{LSL ConstTB/fr|PRIM_COLOR|integer|18|b=[&nbsp;|e=, [[integer]]&nbsp;{{LSL Param/fr|face}}&nbsp;]}}
{{!}} colspan="5" {{!}} [ [[vector]]&nbsp;{{LSL Param/fr|color|couleur}}, [[float]]&nbsp;{{LSL Param/fr|alpha|transparence}}&nbsp;]
{{!}} colspan="5" {{!}} [ [[vector]]&nbsp;{{LSL Param/fr|color|couleur}}, [[float]]&nbsp;{{LSL Param/fr|alpha|transparence}}&nbsp;]
{{!}} colspan="3" {{!}}  
{{!}} colspan="3" {{!}}  
Line 177: Line 177:
{{!}}}
{{!}}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_BUMP_SHINY|integer|19|b=[&nbsp;|e=, [[integer]]&nbsp;{{LSL Param/fr|face}}&nbsp;]|s=rowspan="25"}}
{{LSL ConstTB/fr|PRIM_BUMP_SHINY|integer|19|b=[&nbsp;|e=, [[integer]]&nbsp;{{LSL Param/fr|face}}&nbsp;]|s=rowspan="25"}}
{{!}} colspan="5" {{!}} [ [[integer]]&nbsp;{{HoverText|Effets de reflet|codes PRIM_SHINY_*}}, [[integer]]&nbsp;{{HoverText|Effets de matières|codes PRIM_BUMP_*}}&nbsp;]
{{!}} colspan="5" {{!}} [ [[integer]]&nbsp;{{HoverText|Effets de reflet|codes PRIM_SHINY_*}}, [[integer]]&nbsp;{{HoverText|Effets de matières|codes PRIM_BUMP_*}}&nbsp;]
{{!}} colspan="3" {{!}}
{{!}} colspan="3" {{!}}
Line 184: Line 184:
! colspan="6" {{!}} Description
! colspan="6" {{!}} Description
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_SHINY_NONE|integer|0|m=3|s3=colspan="6"|c=aucun}}
{{LSL ConstTB/fr|PRIM_SHINY_NONE|integer|0|m=3|s3=colspan="6"|c=aucun}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_SHINY_LOW|integer|1|m=3|s3=colspan="6"|c=bas}}
{{LSL ConstTB/fr|PRIM_SHINY_LOW|integer|1|m=3|s3=colspan="6"|c=bas}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_SHINY_MEDIUM|integer|2|m=3|s3=colspan="6"|c=moyen}}
{{LSL ConstTB/fr|PRIM_SHINY_MEDIUM|integer|2|m=3|s3=colspan="6"|c=moyen}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_SHINY_HIGH|integer|3|m=3|s3=colspan="6"|c=haut}}
{{LSL ConstTB/fr|PRIM_SHINY_HIGH|integer|3|m=3|s3=colspan="6"|c=haut}}
{{!}}-
{{!}}-
{{!!}}
{{!!}}
Line 196: Line 196:
{{!}} colspan="6" {{!}}
{{!}} colspan="6" {{!}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_BUMP_NONE|integer|0|m=3|s3=colspan="6"|c=aucun: aucun effet}}
{{LSL ConstTB/fr|PRIM_BUMP_NONE|integer|0|m=3|s3=colspan="6"|c=aucun: aucun effet}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_BUMP_BRIGHT|integer|1|m=3|s3=colspan="6"|c=luminosité: generé par les lumières intenses}}
{{LSL ConstTB/fr|PRIM_BUMP_BRIGHT|integer|1|m=3|s3=colspan="6"|c=luminosité: generé par les lumières intenses}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_BUMP_DARK|integer|2|m=3|s3=colspan="6"|c=obscurité: généré par les lumières basses}}
{{LSL ConstTB/fr|PRIM_BUMP_DARK|integer|2|m=3|s3=colspan="6"|c=obscurité: généré par les lumières basses}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_BUMP_WOOD|integer|3|m=3|s3=colspan="6"|c=aggloméré}}
{{LSL ConstTB/fr|PRIM_BUMP_WOOD|integer|3|m=3|s3=colspan="6"|c=aggloméré}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_BUMP_BARK|integer|4|m=3|s3=colspan="6"|c=écorce}}
{{LSL ConstTB/fr|PRIM_BUMP_BARK|integer|4|m=3|s3=colspan="6"|c=écorce}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_BUMP_BRICKS|integer|5|m=3|s3=colspan="6"|c=brique}}
{{LSL ConstTB/fr|PRIM_BUMP_BRICKS|integer|5|m=3|s3=colspan="6"|c=brique}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_BUMP_CHECKER|integer|6|m=3|s3=colspan="6"|c=damier}}
{{LSL ConstTB/fr|PRIM_BUMP_CHECKER|integer|6|m=3|s3=colspan="6"|c=damier}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_BUMP_CONCRETE|integer|7|m=3|s3=colspan="6"|c=béton}}
{{LSL ConstTB/fr|PRIM_BUMP_CONCRETE|integer|7|m=3|s3=colspan="6"|c=béton}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_BUMP_TILE|integer|8|m=3|s3=colspan="6"|c=carrelage}}
{{LSL ConstTB/fr|PRIM_BUMP_TILE|integer|8|m=3|s3=colspan="6"|c=carrelage}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_BUMP_STONE|integer|9|m=3|s3=colspan="6"|c=pierre de taille}}
{{LSL ConstTB/fr|PRIM_BUMP_STONE|integer|9|m=3|s3=colspan="6"|c=pierre de taille}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_BUMP_DISKS|integer|10|m=3|s3=colspan="6"|c=disque}}
{{LSL ConstTB/fr|PRIM_BUMP_DISKS|integer|10|m=3|s3=colspan="6"|c=disque}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_BUMP_GRAVEL|integer|11|m=3|s3=colspan="6"|c=gravier}}
{{LSL ConstTB/fr|PRIM_BUMP_GRAVEL|integer|11|m=3|s3=colspan="6"|c=gravier}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_BUMP_BLOBS|integer|12|m=3|s3=colspan="6"|c=Petri}}
{{LSL ConstTB/fr|PRIM_BUMP_BLOBS|integer|12|m=3|s3=colspan="6"|c=Petri}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_BUMP_SIDING|integer|13|m=3|s3=colspan="6"|c=lattes}}
{{LSL ConstTB/fr|PRIM_BUMP_SIDING|integer|13|m=3|s3=colspan="6"|c=lattes}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_BUMP_LARGETILE|integer|14|m=3|s3=colspan="6"|c=pierre}}
{{LSL ConstTB/fr|PRIM_BUMP_LARGETILE|integer|14|m=3|s3=colspan="6"|c=pierre}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_BUMP_STUCCO|integer|15|m=3|s3=colspan="6"|c=stuc}}
{{LSL ConstTB/fr|PRIM_BUMP_STUCCO|integer|15|m=3|s3=colspan="6"|c=stuc}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_BUMP_SUCTION|integer|16|m=3|s3=colspan="6"|c=effet aspiration}}
{{LSL ConstTB/fr|PRIM_BUMP_SUCTION|integer|16|m=3|s3=colspan="6"|c=effet aspiration}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_BUMP_WEAVE|integer|17|m=3|s3=colspan="6"|c=textile}}
{{LSL ConstTB/fr|PRIM_BUMP_WEAVE|integer|17|m=3|s3=colspan="6"|c=textile}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_FULLBRIGHT|integer|20|b=[&nbsp;|e=, [[integer]]&nbsp;{{LSL Param/fr|face}}&nbsp;]}}
{{LSL ConstTB/fr|PRIM_FULLBRIGHT|integer|20|b=[&nbsp;|e=, [[integer]]&nbsp;{{LSL Param/fr|face}}&nbsp;]}}
{{!}} colspan="5" {{!}} [ [[integer]]&nbsp;{{LSL Param/fr|boolean|booléen}}&nbsp;]
{{!}} colspan="5" {{!}} [ [[integer]]&nbsp;{{LSL Param/fr|boolean|booléen}}&nbsp;]
{{!}} colspan="3" {{!}}  
{{!}} colspan="3" {{!}}  
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_FLEXIBLE|integer|21|b=[&nbsp;|e=&nbsp;]}}
{{LSL ConstTB/fr|PRIM_FLEXIBLE|integer|21|b=[&nbsp;|e=&nbsp;]}}
{{!}} colspan="5" {{!}} [ [[integer]]&nbsp;{{LSL Param/fr|boolean|booléen}}, [[integer]]&nbsp;{{HoverText|souplesse|va de 0 à 1}}, [[float]]&nbsp;{{LSL Param/fr|flex_float|gravité}}, [[float]]&nbsp;{{LSL Param/fr|flex_float|résistance}}, [[float]]&nbsp;{{LSL Param/fr|flex_float|vent}}, [[float]]&nbsp;{{LSL Param/fr|flex_float|tension}}, [[vector]]&nbsp;{{LSL Param/fr||forces}}&nbsp;]
{{!}} colspan="5" {{!}} [ [[integer]]&nbsp;{{LSL Param/fr|boolean|booléen}}, [[integer]]&nbsp;{{HoverText|souplesse|va de 0 à 1}}, [[float]]&nbsp;{{LSL Param/fr|flex_float|gravité}}, [[float]]&nbsp;{{LSL Param/fr|flex_float|résistance}}, [[float]]&nbsp;{{LSL Param/fr|flex_float|vent}}, [[float]]&nbsp;{{LSL Param/fr|flex_float|tension}}, [[vector]]&nbsp;{{LSL Param/fr||forces}}&nbsp;]
{{!}} colspan="3" {{!}}  
{{!}} colspan="3" {{!}}  
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_CAST_SHADOWS|integer|24|b=[&nbsp;|e=&nbsp;]}}
{{LSL ConstTB/fr|PRIM_CAST_SHADOWS|integer|24|b=[&nbsp;|e=&nbsp;]}}
{{!}} colspan="5" {{!}} [ [[integer]]&nbsp;{{LSL Param/fr|boolean|booléen}}&nbsp;]
{{!}} colspan="5" {{!}} [ [[integer]]&nbsp;{{LSL Param/fr|boolean|booléen}}&nbsp;]
{{!}} colspan="3" {{!}} génération d'ombre par la prim
{{!}} colspan="3" {{!}} génération d'ombre par la prim
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_TEXGEN|integer|22|b=[&nbsp;|e=, [[integer]]&nbsp;{{LSL Param/fr|face}}&nbsp;]|s=rowspan="4"}}
{{LSL ConstTB/fr|PRIM_TEXGEN|integer|22|b=[&nbsp;|e=, [[integer]]&nbsp;{{LSL Param/fr|face}}&nbsp;]|s=rowspan="4"}}
{{!}} colspan="5" {{!}} [ [[integer]]&nbsp;{{HoverText|type|codes PRIM_TEXGEN_* }}&nbsp;]
{{!}} colspan="5" {{!}} [ [[integer]]&nbsp;{{HoverText|type|codes PRIM_TEXGEN_* }}&nbsp;]
{{!}} colspan="3" {{!}}  
{{!}} colspan="3" {{!}}  
Line 251: Line 251:
! colspan="6" {{!}} Description
! colspan="6" {{!}} Description
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_TEXGEN_DEFAULT|integer|0|m=3|s3=colspan="6"|c=}}
{{LSL ConstTB/fr|PRIM_TEXGEN_DEFAULT|integer|0|m=3|s3=colspan="6"|c=}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_TEXGEN_PLANAR|integer|1|m=3|s3=colspan="6"|c=}}
{{LSL ConstTB/fr|PRIM_TEXGEN_PLANAR|integer|1|m=3|s3=colspan="6"|c=}}
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_POINT_LIGHT|integer|23|b=[&nbsp;|e=&nbsp;]}}
{{LSL ConstTB/fr|PRIM_POINT_LIGHT|integer|23|b=[&nbsp;|e=&nbsp;]}}
{{!}} colspan="5" {{!}} [ [[integer]]&nbsp;{{LSL Param/fr|boolean|booléen}}, [[vector]]&nbsp;{{LSL Param/fr|color|couleur}}, [[float]]&nbsp;{{LSL Param/fr|intensity|intensité}}, [[float]]&nbsp;{{LSL Param/fr|radius|rayon}}, [[float]]&nbsp;{{LSL Param/fr|falloff|chute}}&nbsp;]
{{!}} colspan="5" {{!}} [ [[integer]]&nbsp;{{LSL Param/fr|boolean|booléen}}, [[vector]]&nbsp;{{LSL Param/fr|color|couleur}}, [[float]]&nbsp;{{LSL Param/fr|intensity|intensité}}, [[float]]&nbsp;{{LSL Param/fr|radius|rayon}}, [[float]]&nbsp;{{LSL Param/fr|falloff|chute}}&nbsp;]
{{!}} colspan="3" {{!}}  
{{!}} colspan="3" {{!}}  
Line 267: Line 267:
! colspan="6" {{!}} Codification des parametres
! colspan="6" {{!}} Codification des parametres
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_TYPE_BOX|integer|0}}
{{LSL ConstTB/fr|PRIM_TYPE_BOX|integer|0}}
{{!}} colspan="6" {{!}} [ [[vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float]]&nbsp;{{LSL Param/fr|hollow|creux}}, [[float]]&nbsp;{{LSL Param/fr|twist_end|Fin de torsion}}, [[vector]]&nbsp;{{LSL Param/fr|différence_de_taille}}, [[vector]]&nbsp;{{LSL Param/fr|top_shear|translation_des_faces}}&nbsp;]
{{!}} colspan="6" {{!}} [ [[vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float]]&nbsp;{{LSL Param/fr|hollow|creux}}, [[float]]&nbsp;{{LSL Param/fr|twist_end|Fin de torsion}}, [[vector]]&nbsp;{{LSL Param/fr|différence_de_taille}}, [[vector]]&nbsp;{{LSL Param/fr|top_shear|translation_des_faces}}&nbsp;]
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_TYPE_CYLINDER|integer|1}}
{{LSL ConstTB/fr|PRIM_TYPE_CYLINDER|integer|1}}
{{!}} colspan="6" {{!}} [ [[vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float]]&nbsp;{{LSL Param/fr|hollow|creux}}, [[float]]&nbsp;{{LSL Param/fr|twist_end|Fin de torsion}}, [[vector]]&nbsp;{{LSL Param/fr|différence_de_taille}}, [[vector]]&nbsp;{{LSL Param/fr|top_shear|translation_des_faces}}&nbsp;]
{{!}} colspan="6" {{!}} [ [[vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float]]&nbsp;{{LSL Param/fr|hollow|creux}}, [[float]]&nbsp;{{LSL Param/fr|twist_end|Fin de torsion}}, [[vector]]&nbsp;{{LSL Param/fr|différence_de_taille}}, [[vector]]&nbsp;{{LSL Param/fr|top_shear|translation_des_faces}}&nbsp;]
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_TYPE_PRISM|integer|2}}
{{LSL ConstTB/fr|PRIM_TYPE_PRISM|integer|2}}
{{!}} colspan="6" {{!}} [ [[vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float]]&nbsp;{{LSL Param/fr|hollow|creux}}, [[float]]&nbsp;{{LSL Param/fr|twist_end|Fin de torsion}}, [[vector]]&nbsp;{{LSL Param/fr|différence_de_taille}}, [[vector]]&nbsp;{{LSL Param/fr|top_shear|translation_des_faces}}&nbsp;]
{{!}} colspan="6" {{!}} [ [[vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float]]&nbsp;{{LSL Param/fr|hollow|creux}}, [[float]]&nbsp;{{LSL Param/fr|twist_end|Fin de torsion}}, [[vector]]&nbsp;{{LSL Param/fr|différence_de_taille}}, [[vector]]&nbsp;{{LSL Param/fr|top_shear|translation_des_faces}}&nbsp;]
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_TYPE_SPHERE|integer|3}}
{{LSL ConstTB/fr|PRIM_TYPE_SPHERE|integer|3}}
{{!}} colspan="6" {{!}} [ [[vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float]]&nbsp;{{LSL Param/fr|hollow|creux}}, [[vector]]&nbsp;{{LSL Param/fr|cut|trou}}&nbsp;]
{{!}} colspan="6" {{!}} [ [[vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float]]&nbsp;{{LSL Param/fr|hollow|creux}}, [[vector]]&nbsp;{{LSL Param/fr|cut|trou}}&nbsp;]
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_TYPE_TORUS|integer|4}}
{{LSL ConstTB/fr|PRIM_TYPE_TORUS|integer|4}}
{{!}} colspan="6" {{!}} [ [[vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float]]&nbsp;{{LSL Param/fr|hollow|creux}}, [[float]]&nbsp;{{LSL Param/fr|twist_end|fin de torsion}}, [[float]]&nbsp;{{LSL Param/fr|hole_size_y|taille du trou Y}}, [[vector]]&nbsp;{{LSL Param/fr|top_shear|translation_des_faces}}, [[vector]]&nbsp;{{LSL Param/fr|cut|découpage_avancé}}&nbsp;]
{{!}} colspan="6" {{!}} [ [[vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float]]&nbsp;{{LSL Param/fr|hollow|creux}}, [[float]]&nbsp;{{LSL Param/fr|twist_end|fin de torsion}}, [[float]]&nbsp;{{LSL Param/fr|hole_size_y|taille du trou Y}}, [[vector]]&nbsp;{{LSL Param/fr|top_shear|translation_des_faces}}, [[vector]]&nbsp;{{LSL Param/fr|cut|découpage_avancé}}&nbsp;]
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_TYPE_TUBE|integer|5}}
{{LSL ConstTB/fr|PRIM_TYPE_TUBE|integer|5}}
{{!}} colspan="6" {{!}} [ [[vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float]]&nbsp;{{LSL Param/fr|hollow|creux}}, [[float]]&nbsp;{{LSL Param/fr|twist_end|fin de torsion}}, [[float]]&nbsp;{{LSL Param/fr|topshear_x|translation_x}}&nbsp;]
{{!}} colspan="6" {{!}} [ [[vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float]]&nbsp;{{LSL Param/fr|hollow|creux}}, [[float]]&nbsp;{{LSL Param/fr|twist_end|fin de torsion}}, [[float]]&nbsp;{{LSL Param/fr|topshear_x|translation_x}}&nbsp;]
}}
}}

Revision as of 16:15, 16 January 2008

Paramètres Paramètres additionels Descriptions
PRIM_TYPE ] 9 [ integer Codes ] Renvoie / Modifie la forme de la prim.
Valeurs des constantes Valeurs des paramètres
PRIM_TYPE_BOX 0 [ integer forme_du_trou, vector découpe, float creux, vector torsion, vector différence_de_taille, vector translation_des_faces ]
PRIM_TYPE_CYLINDER 1 [ integer forme_du_trou, vector découpe, float creux, vector torsion, vector différence_de_taille, vector translation_des_faces ]
PRIM_TYPE_PRISM 2 [ integer forme_du_trou, vector découpe, float creux, vector torsion, vector différence_de_taille, vector translation_des_faces ]
PRIM_TYPE_SPHERE 3 [ integer forme_du_trou, vector découpe, float creux, vector torsion, vector trou]
PRIM_TYPE_TORUS 4 [ integer forme_du_trou, vector découpe, float creux, vector torsion, vector taille_du_trou, vector translation_des_faces, vector découpage_avancé, vector écart_taille_disque, float rotations, float angle d'offset, float inclinaison ]
PRIM_TYPE_TUBE 5 [ integer forme_du_trou, vector découpe, float creux, vector torsion, vector taille_du_trou, vector translation_des_faces, vector découpage_avancé, vector écart_taille_disque, float rotations, float angle d'offset, float inclinaison ]
PRIM_TYPE_RING 6 [ integer forme_du_trou, vector découpe, float creux, vector torsion, vector taille_du_trou, vector translation_des_faces, vector découpage_avancé, vector écart_taille_disque, float rotations, float angle d'offset, float inclinaison ]
PRIM_TYPE_SCULPT 7 [ string textureinteger type ] Sculpted_Prims:_FAQ
  Codes de forme_du_trou  Formes Codes de forme_du_trou  Formes
PRIM_HOLE_DEFAULT 0x00 Par défaut PRIM_HOLE_SQUARE 0x20 Carré
PRIM_HOLE_CIRCLE 0x10 Cercle PRIM_HOLE_TRIANGLE 0x30 Triangle
type Flags Style Description
PRIM_SCULPT_TYPE_SPHERE 1 Sphère convergence haut et bas, resserrement de la gauche vers la droite
PRIM_SCULPT_TYPE_TORUS 2 Tore resserrement du haut vers le bas, resserrement de la gauche vers la droite
PRIM_SCULPT_TYPE_PLANE 3 Plan ni resserement ni convergence
PRIM_SCULPT_TYPE_CYLINDER 4 Cylindre resserrement de la gauche vers la droit.
PRIM_SCULPT_FLAG_ZZZZZZZZ 63
PRIM_SCULPT_FLAG_INVERT 64 Inversion Retourne les faces du sculpty (interne <=> externe) (inverse les normales).
PRIM_SCULPT_FLAG_MIRROR 128 Miroir Applique un effet miroir sur l'axe X du sculpty.
PRIM_MATERIAL ] 2 [ integer Valeurs] Renvoie / Modifie la matière de la prim. La matière détermine les types de son de colision & de sprite.
Valeurs des constantes 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 Lumière, 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 en radians ]
Texture: llGetTexture llSetTexture
Répétition: llGetTextureScale llScaleTexture
Offset: llGetTextureOffset llOffsetTexture
Rotation: llGetTextureRot llRotateTexture
PRIM_COLOR, integer face ] 18 [ vector couleur, float transparence ]
Transparence: llGetAlpha llSetAlpha
Couleur: llGetColor llSetColor
PRIM_BUMP_SHINY, integer face ] 19 [ integer Effets de reflet, integer Effets de matières ]
Effets de reflets & Effets de matière (valeurs des constantes) 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: aucun effet
PRIM_BUMP_BRIGHT 1 luminosité: generé 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 Petri
PRIM_BUMP_SIDING 13 lattes
PRIM_BUMP_LARGETILE 14 pierre
PRIM_BUMP_STUCCO 15 stuc
PRIM_BUMP_SUCTION 16 effet aspiration
PRIM_BUMP_WEAVE 17 textile
PRIM_FULLBRIGHT, integer face ] 20 [ integer booléen ]
PRIM_FLEXIBLE ] 21 [ integer booléen, integer souplesse, float gravité, float résistance, float vent, float tension, vector forces ]
PRIM_CAST_SHADOWS ] 24 [ integer booléen ] génération d'ombre par la prim
PRIM_TEXGEN, integer face ] 22 [ integer type ]
Valeurs des constantes Description
PRIM_TEXGEN_DEFAULT 0
PRIM_TEXGEN_PLANAR 1
PRIM_POINT_LIGHT ] 23 [ integer booléen, vector couleur, float intensité, float rayon, float chute ]
[ 1 ]
PRIM_TYPE_LEGACY
1 [ integer Valeurs ]
Valeurs des constantes Codification des parametres
PRIM_TYPE_BOX 0 [ vector découpe, float creux, float Fin de torsion, vector différence_de_taille, vector translation_des_faces ]
PRIM_TYPE_CYLINDER 1 [ vector découpe, float creux, float Fin de torsion, vector différence_de_taille, vector translation_des_faces ]
PRIM_TYPE_PRISM 2 [ vector découpe, float creux, float Fin de torsion, vector différence_de_taille, vector translation_des_faces ]
PRIM_TYPE_SPHERE 3 [ vector découpe, float creux, vector trou ]
PRIM_TYPE_TORUS 4 [ vector découpe, float creux, float fin de torsion, float taille du trou Y, vector translation_des_faces, vector découpage_avancé ]
PRIM_TYPE_TUBE 5 [ vector découpe, float creux, float fin de torsion, float translation_x ]

Caveats

  • Si face correspond à une face qui n'existe pas, alors la fonction renvoie comme flag la valeur :...
Valeurs 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.