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

From Second Life Wiki
Jump to navigation Jump to search
m (fixe)
m (fixes)
Line 33: Line 33:
!Renvoyé si la face n'est pas valide
!Renvoyé si la face n'est pas valide
{{!}}-
{{!}}-
{{!!}} [ [[PRIM_TEXTURE/fr|PRIM_TEXTURE]] ] {{!!}} [ {{HoverText|""|string texture}}, {{HoverLink|ZERO_VECTOR|{{LSL VR/fr|0.0|0.0|0.0}} vector répetition}}, {{HoverLink|ZERO_VECTOR|{{LSL VR/fr|0.0|0.0|0.0}} vector offsets}}, {{HoverText|0.0|float rotation_en_radians}} ]
{{!!}} [ [[PRIM_TEXTURE/fr|PRIM_TEXTURE]] ] {{!!}} [ {{HoverText|""|string texture}}, {{HoverLink|ZERO_VECTOR|{{LSL VR|0.0|0.0|0.0}} vector répetition}}, {{HoverLink|ZERO_VECTOR|{{LSL VR|0.0|0.0|0.0}} vector offsets}}, {{HoverText|0.0|float rotation_en_radians}} ]
{{!}}-
{{!}}-
{{!!}} [ [[PRIM_COLOR/fr|PRIM_COLOR]] ] {{!!}} [ {{HoverLink|ZERO_VECTOR|{{LSL VR/fr|0.0|0.0|0.0}} vector couleur}}, {{HoverText|0.0|float transparence alpha}} ]
{{!!}} [ [[PRIM_COLOR/fr|PRIM_COLOR]] ] {{!!}} [ {{HoverLink|ZERO_VECTOR|{{LSL VR|0.0|0.0|0.0}} vector couleur}}, {{HoverText|0.0|float transparence alpha}} ]
{{!}}-
{{!}}-
{{!!}} [ [[PRIM_BUMP_SHINY/fr|PRIM_BUMP_SHINY]] ] {{!!}} [ {{HoverLink|PRIM_SHINY_NONE|(0) integer effet réfléchissant}}, {{HoverLink|PRIM_BUMP_NONE|(0) integer effet matière}} ]
{{!!}} [ [[PRIM_BUMP_SHINY/fr|PRIM_BUMP_SHINY]] ] {{!!}} [ {{HoverLink|PRIM_SHINY_NONE|(0) integer effet réfléchissant}}, {{HoverLink|PRIM_BUMP_NONE|(0) integer effet matière}} ]
Line 64: Line 64:
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_TYPE_BOX|integer|0}}
{{LSL ConstTB|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|vide_creu}}, [[vector]] {{LSL Param/fr|twist_box|torsion}}, [[vector]] {{LSL Param/fr|z_taper|top_size?}}, [[vector]] {{LSL Param/fr|top_shear|top_shear?}} ]
{{!}} 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|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|vide_creu}}, [[vector]] {{LSL Param/fr|twist_box|torsion}}, [[vector]] {{LSL Param/fr|z_taper|top_size?}}, [[vector]] {{LSL Param/fr|top_shear|top_shear?}} ]
{{!}} 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|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|vide_creu}}, [[vector]] {{LSL Param/fr|twist_box|torsion}}, [[vector]] {{LSL Param/fr|z_taper|top_size?}}, [[vector]] {{LSL Param/fr|top_shear|top_shear?}} ]
{{!}} 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|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|vide_creu}}, [[vector]] {{LSL Param/fr|twist_torus|torsion}}, [[vector]] {{LSL Param/fr|cut|dimple?}}]
{{!}} 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|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|vide_creu}}, [[vector]] {{LSL Param/fr|twist_torus|torsion}}, [[vector]] {{LSL Param/fr|hole_size|taille_du_trou}}, [[vector]] {{LSL Param/fr|top_shear|top_shear?}}, [[vector]] {{LSL Param/fr|cut|découpage_avancé}}, [[vector]] {{LSL Param/fr|taper?}}, [[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|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|vide_creu}}, [[vector]] {{LSL Param/fr|twist_torus|torsion}}, [[vector]] {{LSL Param/fr|hole_size|taille_du_trou}}, [[vector]] {{LSL Param/fr|top_shear|top_shear?}}, [[vector]] {{LSL Param/fr|cut|découpage_avancé}}, [[vector]] {{LSL Param/fr|taper?}}, [[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|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|vide_creu}}, [[vector]] {{LSL Param/fr|twist_torus|torsion}}, [[vector]] {{LSL Param/fr|hole_size|taille_du_trou}}, [[vector]] {{LSL Param/fr|top_shear|top_shear?}}, [[vector]] {{LSL Param/fr|cut|découpage_avancé}}, [[vector]] {{LSL Param/fr|taper?}}, [[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|PRIM_TYPE_SCULPT|integer|7}}
Line 198: Line 198:
{{LSL ConstTB|PRIM_BUMP_NONE|integer|0|m=3|s3=colspan="6"|c=aucun: aucun effet}}
{{LSL ConstTB|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=brillance: generé par les lumières intenses}}
{{LSL ConstTB|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|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=grain de bois}}
{{LSL ConstTB|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|PRIM_BUMP_BARK|integer|4|m=3|s3=colspan="6"|c=écorce}}
Line 208: Line 208:
{{LSL ConstTB|PRIM_BUMP_BRICKS|integer|5|m=3|s3=colspan="6"|c=brique}}
{{LSL ConstTB|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=checker(?)}}
{{LSL ConstTB|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|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=croute}}
{{LSL ConstTB|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: blocs}}
{{LSL ConstTB|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|PRIM_BUMP_DISKS|integer|10|m=3|s3=colspan="6"|c=disque}}
Line 222: Line 222:
{{LSL ConstTB|PRIM_BUMP_BLOBS|integer|12|m=3|s3=colspan="6"|c=Petri}}
{{LSL ConstTB|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=siding(?)}}
{{LSL ConstTB|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|PRIM_BUMP_LARGETILE|integer|14|m=3|s3=colspan="6"|c=pierre}}
Line 228: Line 228:
{{LSL ConstTB|PRIM_BUMP_STUCCO|integer|15|m=3|s3=colspan="6"|c=stuc}}
{{LSL ConstTB|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=suction: rings(?)}}
{{LSL ConstTB|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|PRIM_BUMP_WEAVE|integer|17|m=3|s3=colspan="6"|c=textile}}
Line 237: Line 237:
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_FLEXIBLE|integer|21|b=[ |e= ]}}
{{LSL ConstTB|PRIM_FLEXIBLE|integer|21|b=[ |e= ]}}
{{!}} colspan="5" {{!}} [ [[integer]] {{LSL Param/fr|boolean|booléen}}, [[integer]] {{HoverText|adoucissement|va de 0 à 1}}, [[float]] {{LSL Param/fr|flex_float|gravité}}, [[float]] {{LSL Param/fr|flex_float|friction}}, [[float]] {{LSL Param/fr|flex_float|vent}}, [[float]] {{LSL Param/fr|flex_float|tension}}, [[vector]] {{LSL Param/fr|force}} ]
{{!}} colspan="5" {{!}} [ [[integer]] {{LSL Param/fr|boolean|booléen}}, [[integer]] {{HoverText|souplesse|va de 0 à 1}}, [[float]] {{LSL Param/fr|flex_float|gravité}}, [[float]] {{LSL Param/fr|flex_float|résistance}}, [[float]] {{LSL Param/fr|flex_float|vent}}, [[float]] {{LSL Param/fr|flex_float|tension}}, [[vector]] {{LSL Param/fr||forces}} ]
{{!}} colspan="3" {{!}}  
{{!}} colspan="3" {{!}}  
{{!}}-
{{!}}-
Line 262: Line 262:
{{!}} rowspan="8" {{!}} [ 1 ]<br/><s>{{LSL Const|PRIM_TYPE_LEGACY|integer|1|nolink=*}}</s>
{{!}} rowspan="8" {{!}} [ 1 ]<br/><s>{{LSL Const|PRIM_TYPE_LEGACY|integer|1|nolink=*}}</s>
{{!}} rowspan="8" {{!}} {{#var:value}}
{{!}} rowspan="8" {{!}} {{#var:value}}
{{!}} colspan="8" {{!}} [ [[integer]]&nbsp;{{HoverText|Valeurs|codes PRIM_TYPE_*}}, des paramètres ]
{{!}} colspan="8" {{!}} [ [[integer]]&nbsp;{{HoverText|Valeurs|codes PRIM_TYPE_*}} ]
{{!}}-
{{!}}-
! colspan="2" {{!}} {{HoverText|Valeurs|codes PRIM_TYPE_*}} des constantes
! colspan="2" {{!}} {{HoverText|Valeurs|codes PRIM_TYPE_*}} des constantes
Line 268: Line 268:
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_TYPE_BOX|integer|0}}
{{LSL ConstTB|PRIM_TYPE_BOX|integer|0}}
{{!}} colspan="6" {{!}} [ [[vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float]]&nbsp;{{LSL Param/fr|hollow|vide_creu}}, [[float]]&nbsp;{{LSL Param/fr|twist_end|Fin de torsion}}, [[vector]]&nbsp;{{LSL Param/fr|top_size?}}, [[vector]]&nbsp;{{LSL Param/fr|top_shear|top_shear?}}&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|PRIM_TYPE_CYLINDER|integer|1}}
{{!}} colspan="6" {{!}} [ [[vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float]]&nbsp;{{LSL Param/fr|hollow|vide_creu}}, [[float]]&nbsp;{{LSL Param/fr|twist_end|Fin de torsion}}, [[vector]]&nbsp;{{LSL Param/fr|top_size?}}, [[vector]]&nbsp;{{LSL Param/fr|top_shear|top_shear?}}&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|PRIM_TYPE_PRISM|integer|2}}
{{!}} colspan="6" {{!}} [ [[vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float]]&nbsp;{{LSL Param/fr|hollow|vide_creu}}, [[float]]&nbsp;{{LSL Param/fr|twist_end|Fin de torsion}}, [[vector]]&nbsp;{{LSL Param/fr|top_size?}}, [[vector]]&nbsp;{{LSL Param/fr|top_shear|top_shear?}}&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|PRIM_TYPE_SPHERE|integer|3}}
{{!}} colspan="6" {{!}} [ [[vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float]]&nbsp;{{LSL Param/fr|hollow|vide_creu}}, [[vector]]&nbsp;{{LSL Param/fr|cut|dimple?}}&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|PRIM_TYPE_TORUS|integer|4}}
{{!}} colspan="6" {{!}} [ [[vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float]]&nbsp;{{LSL Param/fr|hollow|vide_creu}}, [[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|top_shear?}}, [[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|PRIM_TYPE_TUBE|integer|5}}
{{!}} colspan="6" {{!}} [ [[vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float]]&nbsp;{{LSL Param/fr|hollow|vide_creu}}, [[float]]&nbsp;{{LSL Param/fr|twist_end|fin de torsion}}, [[float]]&nbsp;{{LSL Param/fr|topshear_x|topshear_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;]
}}
}}
{{!}}-
{{!}}-
Line 294: Line 294:
</div></div>
</div></div>
</noinclude>
</noinclude>
LSL Constants/PrimitiveParams

Revision as of 15:49, 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 Sphere Converge top & bottom, stitch left side to right
PRIM_SCULPT_TYPE_TORUS 2 Torus Stitch top to bottom, stitch left side to right
PRIM_SCULPT_TYPE_PLANE 3 Plane No stitching or converging
PRIM_SCULPT_TYPE_CYLINDER 4 Cylinder Stitch left side to right.
PRIM_SCULPT_TYPE_MESH 5 Mesh model See: Mesh
PRIM_SCULPT_FLAG_ZZZZZZZZ 63
PRIM_SCULPT_FLAG_ANIMESH 0x20 Animesh Read-only flag to query Animated mesh status.
PRIM_SCULPT_FLAG_INVERT 0x40 Invert Render inside out (inverts the normals).
PRIM_SCULPT_FLAG_MIRROR 0x80 Mirror Render an X axis mirror of the 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.