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

From Second Life Wiki
Jump to navigation Jump to search
m (proofread)
(Updated (part1))
Line 1: Line 1:
{{{!}} {{Prettytable/fr}} {{#switch:{{NAMESPACE}}|Template=|User=|{{LSLC/fr|Light}}}}
<noinclude>{{multi-lang}}</noinclude>{{#if:
{{#if:
{{:PRIM_COLOR/fr|{{{1|}}}}}
{{#vardefine:p_type_desc|codes PRIM_SCULPT_TYPE_*}}
{{:PRIM_GLOW/fr|{{{1|}}}}}
{{#vardefine:p_hole_shape_desc|codes PRIM_HOLE_* }}
{{:PRIM_TEXTURE/fr|{{{1|}}}}}
{{#vardefine:p_cut_desc|x et y vont des valeurs 0.0 à 1.0, x doit être au moins 0.05 plus petit que y (z est ignoré)}}
{{:PRIM_FULLBRIGHT/fr|{{{1|}}}}}
{{#vardefine:p_hollow_desc|vont de 0.0 (sans trou) à 0.95 (taille maximale)}}
{{:PRIM_TEXGEN/fr|{{{1|}}}}}
{{#vardefine:p_twist_box_desc|vont de -0.5 (-180° dans la fenêtre de paramétrage) à 0.5 (+180° dans la fenêtre de paramétrage) (pour les valeurs x et y, z est ignoré)}}
{{:PRIM_BUMP_SHINY/fr|{{{1|}}}}}
{{#vardefine:p_twist_torus_desc|vont de -1.0 (-360° dans la fenêtre de paramétrage) à 1.0 (+360° dans la fenêtre de paramétrage) (pour les valeurs x et y, z est ignoré)}}
{{:PRIM_MATERIAL/fr|{{{1|}}}}}
{{#vardefine:p_hole_size_desc|x va de 0.05 à 1.0; y va de 0.05 (trou large) to 0.50 (aucun trou)}}
{{:PRIM_TYPE/fr|{{{1|}}}}}
{{#vardefine:p_top_size_desc|va de 0.0 à 1.0 (pour les valeurs x et y, z est ignoré)}}
{{:PRIM_TYPE_SCULPT/fr}}
{{#vardefine:p_z_taper_desc|va de 0.0 à 2.0 (pour les valeurs x et y, z est ignoré)}}
{{:PRIM_PHANTOM/fr|{{{1|}}}}}
{{#vardefine:p_top_shear_desc|va de -0.5 à 0.5 (pour les valeurs x et y, z est ignoré)}}
{{:PRIM_TEMP_ON_REZ/fr|{{{1|}}}}}
{{#vardefine:p_taper_desc|va de -1.0 à 1.0 (pour les valeurs x et y, z est ignoré)}}
{{:PRIM_PHYSICS/fr|{{{1|}}}}}
{{#vardefine:p_revolutions_desc|va de 1.0 à 4.00}}
{{:PRIM_SIZE/fr|{{{1|}}}}}
{{#vardefine:p_radius_offset_desc|dépend de la taille du trou et de la rotation}}
{{:PRIM_POSITION/fr|{{{1|}}}}}
{{#vardefine:p_skew_desc|va de -1.0 à 1.0}}
{{:PRIM_ROTATION/fr|{{{1|}}}}}
{{#vardefine:p_id_desc|}}
{{:PRIM_FLEXIBLE/fr|{{{1|}}}}}
{{#vardefine:p_repeats_desc|x et y vont de 0.0 à 100, par incrément de 0.01 (z est ignoré)}}
{{:PRIM_POINT_LIGHT/fr|{{{1|}}}}}
{{#vardefine:p_offsets_desc|x et y vont de -1 à 1 (z est ignoré)}}
 
{{#vardefine:p_flex_float_desc|va de 0.0 à 10.0}}
{{#vardefine:p_twist_end_desc|va de -0.5 (-180° dans la fenêtre de paramétrage) à 0.5 (+180° dans la fenêtre de paramétrage)}}
{{#vardefine:p_hole_size_y_desc|va de 0.05 (trou large) à 0.50 (aucun trou)}}
{{#vardefine:p_size_desc|va de 0.01 à 10.0 pour x, y et z}}
{{#vardefine:p_rot_desc|n'importe quelle rotation valide}}
{{#vardefine:p_topshear_x_desc|va de 0.05 à 0.50}}
{{#vardefine:p_boolean_desc|VRAI (activé) ou FAUX (désactivé)}}
{{LSL_Function/color/fr|couleur}}
{{LSL_Function/color/fr|couleur}}
{{LSL_Function/alpha/fr|alpha}}
{{LSL_Function/alpha/fr|alpha}}
{{LSL_Function/face/fr|face|code|return={{#ifeq:{{{1|get}}}|get|...
{{LSL_Function/boolean/fr|booléen}}
{{LSL_Function/face/fr|face|code|!footer=*|return={{#ifeq:{{{1|get}}}|get|...
:{{{!}}{{Prettytable/fr}}
:{{{!}}{{Prettytable/fr}}
{{!}}-{{Hl2}}
{{!}}-{{Hl2}}
!{{HoverText|Valeurs|codes PRIM_*}}
!{{HoverText|valeur|codes PRIM_* }}
!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|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}} ]
{{#var:facetable}}
{{!}}-
{{!}}-
{{!!}} [ [[PRIM_COLOR/fr|PRIM_COLOR]] ] {{!!}} [ {{HoverLink|ZERO_VECTOR|{{LSL VR|0.0|0.0|0.0}} vector couleur}}, {{HoverText|0.0|float transparence alpha}} ]
{{!}}}
}}}}
 
}}{{#ifeq:{{{1|<noinclude>set</noinclude>}}}|set|
{{{!}} class="sortable" {{Prettytable/fr|style=margin: 0px 0px 10px 1pt;}}
{{!}}- {{Hl2}}
! class="sortable" {{!}}Codes
! class="sortable" {{!}}Description
! class="unsortable" {{!}}Emploi
{{!}}-
{{!}} [[#PRIM_TYPE/fr|PRIM_TYPE]]
{{!}} Modifie la forme de la prim.
{{!}} [&nbsp;{{LSL Const/fr|PRIM_TYPE|integer|9}}, [[integer/fr|integer]]&nbsp;{{HoverText|flag|codes PRIM_TYPE_*}}&nbsp;]&nbsp;+ {{HoverLink|#PRIM_TYPE_flag_parameters|Paramètres supplémentaires requis par ce code.|paramètres}}
{{!}}-
{{!}} [[#PRIM_MATERIAL/fr|PRIM_MATERIAL]]
{{!}} Modifie la matière de la prim
{{!}} [&nbsp;{{LSL Const/fr|PRIM_MATERIAL|integer|2}}, [[integer/fr|integer]]&nbsp;{{HoverText|flag|PRIM_MATERIAL_* flag}}&nbsp;]
{{!}}-
{{!}} [[#PRIM_PHYSICS/fr|PRIM_PHYSICS]]
{{!}} Modifie l'état "physique" de la prim
{{!}} [&nbsp;{{LSL Const/fr|PRIM_PHYSICS|integer|3}}, [[integer/fr|integer]]&nbsp;{{LSL Param/fr|boolean|booléen}}&nbsp;]
{{!}}-
{{!}} [[#PRIM_TEMP_ON_REZ/fr|PRIM_TEMP_ON_REZ]]
{{!}} Modifie l'état "temporaire" de la prim.
{{!}} [&nbsp;{{LSL Const/fr|PRIM_TEMP_ON_REZ|integer|4}}, [[integer/fr|integer]]&nbsp;{{LSL Param/fr|booléen}}&nbsp;]
{{!}}-
{{!}}-
{{!!}} [ [[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_PHANTOM/fr|PRIM_PHANTOM]]
{{!}} Modifie l'état "fantôme" de la prim..
{{!}} [&nbsp;{{LSL Const/fr|PRIM_PHANTOM|integer|5}}, [[integer/fr|integer]]&nbsp;{{LSL Param/fr|booléen}}&nbsp;]
{{!}}-
{{!}}-
{{!!}} [ [[PRIM_FULLBRIGHT/fr|PRIM_FULLBRIGHT]] ] {{!!}} [ {{HoverLink|FALSE|(0) integer booléen}} ]
{{!}} [[#PRIM_POSITION/fr|PRIM_POSITION]]
{{!}} Modifie la position de la prim
{{!}} [&nbsp;{{LSL Const/fr|PRIM_POSITION|integer|6}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|position}}&nbsp;]
{{!}}-
{{!}}-
{{!!}} [ [[PRIM_TEXGEN/fr|PRIM_TEXGEN]] ] {{!!}} [ {{HoverLink|PRIM_TEXGEN_DEFAULT|(0) integer type}} ]
{{!}} [[#PRIM_ROTATION/fr|PRIM_ROTATION]]
{{!}}}
{{!}} Modifie la rotation de la prim
}}}}
{{!}} [&nbsp;{{LSL Const/fr|PRIM_ROTATION|integer|8}}, [[rotation/fr|rotation]]&nbsp;{{LSL Param/fr|rot}}&nbsp;]
{{LSL_Function/inventory/fr|texture|uuid=true|type=texture|{{#ifeq:{{{1|}}}|get|no_caveat=true}}|full={{{remote|}}}}}
{{!}}-
{{#vardefine:p_rotation_in_radians_desc|angle en radians}}
{{!}} [[#PRIM_SIZE/fr|PRIM_SIZE]]
{{#vardefine:p_force_desc|}}
{{!}} Modifie la taille de la prim
{{#vardefine:p_intensité_desc|va de 0.0 à 1.0}}
{{!}} [&nbsp;{{LSL Const/fr|PRIM_SIZE|integer|7}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|taille}}&nbsp;]
{{#vardefine:p_rayon_desc|va de 0.1 à 10.0}}
{{!}}-
{{#vardefine:p_vitesse_extinction_desc|va de 0.01 à 1.0}} }}
{{!}} [[#PRIM_TEXTURE/fr|PRIM_TEXTURE]]
{{!}} Modifie les paramètres de texture de la prim
{{!}} [&nbsp;{{#var:texture_const}}, [[integer/fr|integer]]&nbsp;{{LSL Param/fr|face}}, [[string]]&nbsp;{{LSL Param/fr|texture}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|répétitions}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|décalage}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|rotation_en_radians}}&nbsp;]
{{!}}-
{{!}} [[#PRIM_COLOR/fr|PRIM_COLOR]]
{{!}} Modifie la couleur de la prim
{{!}} [&nbsp;{{#var:color_const}}, [[integer/fr|integer]]&nbsp;{{LSL Param/fr|face}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|couleur}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|alpha}}&nbsp;]
{{!}}-
{{!}} [[#PRIM_BUMP_SHINY/fr|PRIM_BUMP_SHINY]]
{{!}} Modifie les effets luisant et de matière .
{{!}} [&nbsp;{{LSL Const/fr|PRIM_BUMP_SHINY|integer|19}}, [[integer/fr|integer]]&nbsp;{{LSL Param/fr|face}}, [[integer/fr|integer]]&nbsp;{{HoverText|effet_luisant|codes PRIM_SHINY_*}}, [[integer/fr|integer]]&nbsp;{{HoverText|effet_matière|PRIM_BUMP_* flag}}&nbsp;]
{{!}}-
{{!}} [[#PRIM_POINT_LIGHT/fr|PRIM_POINT_LIGHT]]
{{!}} Transforme la prim en source de lumière.
{{!}} [&nbsp;{{LSL Const/fr|PRIM_POINT_LIGHT|integer|23}}, [[integer/fr|integer]]&nbsp;{{LSL Param/fr|booléen}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|couleur}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|intensité}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|rayon}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|vitesse_extinction}}&nbsp;]
{{!}}-
{{!}} [[#PRIM_FULLBRIGHT/fr|PRIM_FULLBRIGHT]]
{{!}} Active une face de la prim en "pleine lumière"
{{!}} [&nbsp;{{#var:fullbright_const}}, [[integer/fr|integer]]&nbsp;{{LSL Param/fr|face}}, [[integer/fr|integer]]&nbsp;{{LSL Param/fr|booléen}}&nbsp;]
{{!}}-
{{!}} [[#PRIM_FLEXIBLE/fr|PRIM_FLEXIBLE]]
{{!}} Transforme la prim en flexible
{{!}} [&nbsp;{{LSL Const/fr|PRIM_FLEXIBLE|integer|21}}, [[integer/fr|integer]]&nbsp;{{LSL Param/fr|booléen}}, [[integer/fr|integer]]&nbsp;{{HoverText|souplesse|va de 0 à 4}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|flex_float|gravité}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|flex_float|frottement}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|flex_float|vent}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|flex_float|tension}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|force}}&nbsp;]
{{!}}-
{{!}} [[#PRIM_TEXGEN/fr|PRIM_TEXGEN]]
{{!}} Modifie le mode de texturage.
{{!}} [&nbsp;{{LSL Const/fr|PRIM_TEXGEN|integer|22}}, [[integer/fr|integer]]&nbsp;{{LSL Param/fr|face}}, [[integer/fr|integer]]&nbsp;{{HoverText|type|code PRIM_TEXGEN_*}}&nbsp;]
{{!}}-
{{!}} [[#PRIM_GLOW/fr|PRIM_GLOW]]
{{!}} Modifie le rayonnement de la prim.
{{!}} [&nbsp;{{#var:glow_const}}, [[integer/fr|integer]]&nbsp;{{LSL Param/fr|face}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|intensité}}&nbsp;]
{{!}}-
{{!}} [[#PRIM_CAST_SHADOWS/fr|PRIM_CAST_SHADOWS]]
{{!}} Active la création d'ombres. ('''DESACTIVE''')
{{!}} [&nbsp;{{LSL Const/fr|PRIM_CAST_SHADOWS|integer|24}}, [[integer/fr|integer]]&nbsp;{{LSL Param/fr|booléen}}&nbsp;]
{{!}}-
{{!}} [[#PRIM_TYPE_LEGACY/fr|PRIM_TYPE_LEGACY]]
{{!}} Modifie la forme de la prim  (mode héritage, '''DESACTIVE''').
{{!}} [&nbsp;1, [[integer/fr|integer]]&nbsp;{{HoverText|flag|code PRIM_TYPE_*}}&nbsp;]&nbsp;+ {{HoverLink|#PRIM_TYPE_LEGACY_flag_parameters|Paramètres suplémentaires requis par ce code|paramètres}}
{{!}}} }}
{{{!}} {{Prettytable/fr|style=margin: 0px 0px 10px 1pt;}} {{#switch:{{NAMESPACE}}|Template=|User=|{{LSLC/fr|Light}}}}
{{!}}- {{Hl2}}
{{!}}- {{Hl2}}
! colspan="2" {{!}} Paramètres
! colspan="2" {{!}} Paramètres
! colspan="2" {{!}} Paramètres additionels
! colspan="2" {{!}} {{GetSet/fr|{{{1|}}}|Valeurs&nbsp;renvoyées|Paramètres&nbsp;supplémentaires}}
! colspan="6" {{!}} Descriptions
! colspan="6" {{!}} Description
{{!}}-
{{!}}-
{{LSL ConstTB/fr|PRIM_TYPE|integer|9|b=[&nbsp;|e=&nbsp;]|s=rowspan="18"}}
{{LSL ConstTB/fr|PRIM_TYPE|integer|9|b=[&nbsp;|e=&nbsp;]|s=rowspan="18"}}
{{!}} colspan="2" {{!}} [ [[integer]]&nbsp;{{HoverText|Codes|codes PRIM_TYPE_*}} ]
{{!}} colspan="2" {{!}} [ [[integer/fr|integer]]&nbsp;{{HoverText|Codes|codes PRIM_TYPE_*}} ]
{{!}} colspan="6" {{!}} {{GetSet|{{{1|}}}|Renvoie|Modifie}} la forme de la prim.
{{!}} colspan="6" {{!}} {{GetSet/fr|{{{1|}}}|Renvoie|Modifie}} la forme de la prim.
{{!}}-
{{!}}-
! colspan="2" {{!}} {{HoverText|Valeurs|code PRIM_TYPE_*}} des constantes
! colspan="2" {{!}} {{HoverText|Valeurs|code PRIM_TYPE_*}} des constantes
Line 63: Line 125:
{{!}}-
{{!}}-
{{LSL ConstTB/fr|PRIM_TYPE_BOX|integer|0}}
{{LSL ConstTB/fr|PRIM_TYPE_BOX|integer|0}}
{{!}} colspan="6" {{!}} [ [[integer]]&nbsp;{{LSL Param/fr|hole_shape|forme_du_trou}}, [[vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float]]&nbsp;{{LSL Param/fr|hollow|creux}}, [[vector]]&nbsp;{{LSL Param/fr|twist_box|torsion}}, [[vector]]&nbsp;{{LSL Param/fr|z_taper|différence_de_taille}}, [[vector]]&nbsp;{{LSL Param/fr|top_shear|translation_des_faces}}&nbsp;]
{{!}} colspan="6" {{!}} [ [[integer/fr|integer]]&nbsp;{{LSL Param/fr|hole_shape|forme_du_trou}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|hollow|creux}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|twist_box|torsion}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|z_taper|différence_de_taille}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|top_shear|translation_des_faces}}&nbsp;]
{{!}}-
{{!}}-
{{LSL ConstTB/fr|PRIM_TYPE_CYLINDER|integer|1}}
{{LSL ConstTB/fr|PRIM_TYPE_CYLINDER|integer|1}}
{{!}} colspan="6" {{!}} [ [[integer]]&nbsp;{{LSL Param/fr|hole_shape|forme_du_trou}}, [[vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float]]&nbsp;{{LSL Param/fr|hollow|creux}}, [[vector]]&nbsp;{{LSL Param/fr|twist_box|torsion}}, [[vector]]&nbsp;{{LSL Param/fr|z_taper|différence_de_taille}}, [[vector]]&nbsp;{{LSL Param/fr|top_shear|translation_des_faces}}&nbsp;]
{{!}} colspan="6" {{!}} [ [[integer/fr|integer]]&nbsp;{{LSL Param/fr|hole_shape|forme_du_trou}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|hollow|creux}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|twist_box|torsion}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|z_taper|différence_de_taille}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|top_shear|translation_des_faces}}&nbsp;]
{{!}}-
{{!}}-
{{LSL ConstTB/fr|PRIM_TYPE_PRISM|integer|2}}
{{LSL ConstTB/fr|PRIM_TYPE_PRISM|integer|2}}
{{!}} colspan="6" {{!}} [ [[integer]]&nbsp;{{LSL Param/fr|hole_shape|forme_du_trou}}, [[vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float]]&nbsp;{{LSL Param/fr|hollow|creux}}, [[vector]]&nbsp;{{LSL Param/fr|twist_box|torsion}}, [[vector]]&nbsp;{{LSL Param/fr|z_taper|différence_de_taille}}, [[vector]]&nbsp;{{LSL Param/fr|top_shear|translation_des_faces}}&nbsp;]
{{!}} colspan="6" {{!}} [ [[integer/fr|integer]]&nbsp;{{LSL Param/fr|hole_shape|forme_du_trou}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|hollow|creux}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|twist_box|torsion}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|z_taper|différence_de_taille}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|top_shear|translation_des_faces}}&nbsp;]
{{!}}-
{{!}}-
{{LSL ConstTB/fr|PRIM_TYPE_SPHERE|integer|3}}
{{LSL ConstTB/fr|PRIM_TYPE_SPHERE|integer|3}}
{{!}} colspan="6" {{!}} [ [[integer]]&nbsp;{{LSL Param/fr|hole_shape|forme_du_trou}}, [[vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float]]&nbsp;{{LSL Param/fr|hollow|creux}}, [[vector]]&nbsp;{{LSL Param/fr|twist_torus|torsion}}, [[vector]]&nbsp;{{LSL Param/fr|cut|découpe en rondelle}}]
{{!}} colspan="6" {{!}} [ [[integer/fr|integer]]&nbsp;{{LSL Param/fr|hole_shape|forme_du_trou}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|hollow|creux}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|twist_torus|torsion}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|cut|découpe en rondelle}}]
{{!}}-
{{!}}-
{{LSL ConstTB/fr|PRIM_TYPE_TORUS|integer|4}}
{{LSL ConstTB/fr|PRIM_TYPE_TORUS|integer|4}}
{{!}} colspan="6" {{!}} [ [[integer]]&nbsp;{{LSL Param/fr|hole_shape|forme_du_trou}}, [[vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float]]&nbsp;{{LSL Param/fr|hollow|creux}}, [[vector]]&nbsp;{{LSL Param/fr|twist_torus|torsion}}, [[vector]]&nbsp;{{LSL Param/fr|hole_size|taille_du_trou}}, [[vector]]&nbsp;{{LSL Param/fr|top_shear|translation_des_faces}}, [[vector]]&nbsp;{{LSL Param/fr|cut|découpage_avancé}}, [[vector]]&nbsp;{{LSL Param/fr|taper|écart_taille_disque}}, [[float]]&nbsp;{{LSL Param/fr|revolutions|rotations}}, [[float]]&nbsp;{{LSL Param/fr|radius_offset|angle d'offset}}, [[float]]&nbsp;{{LSL Param/fr|skew|inclinaison}}&nbsp;]
{{!}} colspan="6" {{!}} [ [[integer/fr|integer]]&nbsp;{{LSL Param/fr|hole_shape|forme_du_trou}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|hollow|creux}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|twist_torus|torsion}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|hole_size|taille_du_trou}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|top_shear|translation_des_faces}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|cut|découpage_avancé}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|taper|écart_taille_disque}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|revolutions|rotations}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|radius_offset|angle d'offset}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|skew|inclinaison}}&nbsp;]
{{!}}-
{{!}}-
{{LSL ConstTB/fr|PRIM_TYPE_TUBE|integer|5}}
{{LSL ConstTB/fr|PRIM_TYPE_TUBE|integer|5}}
{{!}} colspan="6" {{!}} [ [[integer]]&nbsp;{{LSL Param/fr|hole_shape|forme_du_trou}}, [[vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float]]&nbsp;{{LSL Param/fr|hollow|creux}}, [[vector]]&nbsp;{{LSL Param/fr|twist_torus|torsion}}, [[vector]]&nbsp;{{LSL Param/fr|hole_size|taille_du_trou}}, [[vector]]&nbsp;{{LSL Param/fr|top_shear|translation_des_faces}}, [[vector]]&nbsp;{{LSL Param/fr|cut|découpage_avancé}}, [[vector]]&nbsp;{{LSL Param/fr|taper|écart_taille_disque}}, [[float]]&nbsp;{{LSL Param/fr|revolutions|rotations}}, [[float]]&nbsp;{{LSL Param/fr|radius_offset|angle d'offset}}, [[float]]&nbsp;{{LSL Param/fr|skew|inclinaison}}&nbsp;]
{{!}} colspan="6" {{!}} [ [[integer/fr|integer]]&nbsp;{{LSL Param/fr|hole_shape|forme_du_trou}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|hollow|creux}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|twist_torus|torsion}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|hole_size|taille_du_trou}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|top_shear|translation_des_faces}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|cut|découpage_avancé}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|taper|écart_taille_disque}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|revolutions|rotations}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|radius_offset|angle d'offset}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|skew|inclinaison}}&nbsp;]
{{!}}-
{{!}}-
{{LSL ConstTB/fr|PRIM_TYPE_RING|integer|6}}
{{LSL ConstTB/fr|PRIM_TYPE_RING|integer|6}}
{{!}} colspan="6" {{!}} [ [[integer]]&nbsp;{{LSL Param/fr|hole_shape|forme_du_trou}}, [[vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float]]&nbsp;{{LSL Param/fr|hollow|creux}}, [[vector]]&nbsp;{{LSL Param/fr|twist_torus|torsion}}, [[vector]]&nbsp;{{LSL Param/fr|hole_size|taille_du_trou}}, [[vector]]&nbsp;{{LSL Param/fr|top_shear|translation_des_faces}}, [[vector]]&nbsp;{{LSL Param/fr|cut|découpage_avancé}}, [[vector]]&nbsp;{{LSL Param/fr|taper|écart_taille_disque}}, [[float]]&nbsp;{{LSL Param/fr|revolutions|rotations}}, [[float]]&nbsp;{{LSL Param/fr|radius_offset|angle d'offset}}, [[float]]&nbsp;{{LSL Param/fr|skew|inclinaison}}&nbsp;]
{{!}} colspan="6" {{!}} [ [[integer/fr|integer]]&nbsp;{{LSL Param/fr|hole_shape|forme_du_trou}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|hollow|creux}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|twist_torus|torsion}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|hole_size|taille_du_trou}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|top_shear|translation_des_faces}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|cut|découpage_avancé}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|taper|écart_taille_disque}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|revolutions|rotations}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|radius_offset|angle d'offset}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|skew|inclinaison}}&nbsp;]
{{!}}-
{{!}}-
{{LSL ConstTB/fr|PRIM_TYPE_SCULPT|integer|7}}
{{LSL ConstTB/fr|PRIM_TYPE_SCULPT|integer|7}}
{{!}} colspan="6" {{!}} [ [[string]]&nbsp;{{LSL Param/fr|map|texture}},&nbsp;[[integer]]&nbsp;{{LSL Param/fr|type}}&nbsp;] [[Sculpted_Prims:_FAQ/fr|Sculpted_Prims:_FAQ]]
{{!}} colspan="6" {{!}} [ [[string]]&nbsp;{{LSL Param/fr|map|texture}},&nbsp;[[integer/fr|integer]]&nbsp;{{LSL Param/fr|type}}&nbsp;] [[Sculpted_Prims:_FAQ/fr|Sculpted_Prims:_FAQ]]
{{!}}-
{{!}}-
{{!}} rowspan="8" colspan="2" {{!}} &nbsp;
{{!}} rowspan="8" colspan="2" {{!}} &nbsp;
Line 106: Line 168:
{{!}} colspan="10" {{!}}
{{!}} colspan="10" {{!}}
{{!}}-
{{!}}-
{{LSL ConstTB/fr|PRIM_MATERIAL|integer|2|b=[&nbsp;|e=&nbsp;]|s=rowspan="10"}}
{{LSL ConstTB/fr|PRIM_MATERIAL|integer|2|b=[&nbsp;|e=&nbsp;]|s=rowspan="10"|s1=id="PRIM_MATERIAL"}}
{{!}} colspan="2" {{!}} [ [[integer]]&nbsp;{{HoverText|Valeurs|codes PRIM_MATERIAL_*}}]
{{!}} colspan="2" {{!}} [ [[integer/fr|integer]]&&nbsp;{{LSL Param/fr|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/fr|{{{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="2" {{!}} {{HoverText|Valeurs|code PRIM_MATERIAL_*}} des constantes
! colspan="6" {{!}} Description des codes
{{!}}-
{{LSL ConstTB/fr|PRIM_MATERIAL_STONE|integer|0|m=3|s3=colspan="6"|c=Pierre}}
{{!}}-
{{LSL ConstTB/fr|PRIM_MATERIAL_METAL|integer|1|m=3|s3=colspan="6"|c=Métal}}
{{!}}-
{{LSL ConstTB/fr|PRIM_MATERIAL_GLASS|integer|2|m=3|s3=colspan="6"|c=Verre}}
{{!}}-
{{LSL ConstTB/fr|PRIM_MATERIAL_WOOD|integer|3|m=3|s3=colspan="6"|c=Bois}}
{{!}}-
{{LSL ConstTB/fr|PRIM_MATERIAL_FLESH|integer|4|m=3|s3=colspan="6"|c=Chair}}
{{!}}-
{{LSL ConstTB/fr|PRIM_MATERIAL_PLASTIC|integer|5|m=3|s3=colspan="6"|c=Plastique}}
{{!}}-
{{LSL ConstTB/fr|PRIM_MATERIAL_RUBBER|integer|6|m=3|s3=colspan="6"|c=Caoutchouc}}
{{!}}-
{{!}}-
{{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;]}}
{{LSL Constants/PrimitiveParams/materials/fr}}
{{!}} 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/fr|PRIM_PHYSICS|integer|3|b=[&nbsp;|e=&nbsp;]}}
{{LSL ConstTB/fr|PRIM_PHYSICS|integer|3|b=[&nbsp;|e=&nbsp;]|s1=id="PRIM_PHYSICS"}}
{{!}} colspan="5" {{!}} [ [[integer]]&nbsp;{{LSL Param/fr|boolean|booléen}}&nbsp;]
{{!}} colspan="5" {{!}} [ [[integer/fr|integer]]&nbsp;{{LSL Param/fr|booléen}}&nbsp;]
{{!}} colspan="3" {{!}} Statut "physique" {{GetSet|{{{1|}}}|[[llGetStatus/fr|llGetStatus]]|[[llSetStatus/fr|llSetStatus]]}}
{{!}} colspan="3" {{!}} Statut "physique" {{GetSet/fr|{{{1|}}}|[[llGetStatus/fr|llGetStatus]]|[[llSetStatus/fr-llSetStatus]]}}
{{!}}-
{{!}}-
{{LSL ConstTB/fr|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/fr|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/fr|{{{1|}}}|[[llGetStatus/fr|llGetStatus]]|[[llSetStatus/fr|llSetStatus]]}}
{{!}}-
{{!}}-
{{LSL ConstTB/fr|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/fr|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/fr|{{{1|}}}|[[llGetStatus/fr|llGetStatus]]|[[llSetStatus/fr|llSetStatus]]}}
{{!}}-
{{!}}-
{{LSL ConstTB/fr|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/fr|vector]]&nbsp;{{LSL Param/fr|position}}&nbsp;]
{{!}} colspan="3" {{!}} Position, {{GetSet|{{{1|}}}|[[llGetPos/fr|llGetPos]]|[[llSetPos/fr|llSetRot]]}}
{{!}} colspan="3" {{!}} Position, {{GetSet/fr|{{{1|}}}|[[llGetPos/fr|llGetPos]]|[[llSetPos/fr|llSetRot]]}}
{{!}}-
{{!}}-
{{LSL ConstTB/fr|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/fr|{{{1|}}}|[[llGetRot/fr|llGetPos]]|[[llSetRot/fr|llSetRot]]}}
{{!}}-
{{!}}-
{{LSL ConstTB/fr|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/fr|vector]]&nbsp;{{LSL Param/fr|taille|taille}}&nbsp;]
{{!}} colspan="3" {{!}} taille, {{GetSet|{{{1|}}}|[[llGetScale/fr|llGetScale]]|[[llSetScale/fr|llSetScale]]}}
{{!}} colspan="3" {{!}} taille, {{GetSet/fr|{{{1|}}}|[[llGetScale/fr|llGetScale]]|[[llSetScale/fr|llSetScale]]}}
{{!}}-
{{!}}-
{{LSL ConstTB/fr|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/fr|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/fr|vector]]&nbsp;{{LSL Param/fr|répétitions|répétitions}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|décalage}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|rotation_en_radians|Rotation en radians}}&nbsp;]
{{!}} colspan="3" {{!}}
{{!}} colspan="3" {{!}}
{{{!}} style="background-color:#F9F9F9;"
{{{!}} style="background-color:#F9F9F9;"
Line 167: Line 211:
{{!}}}
{{!}}}
{{!}}-
{{!}}-
{{LSL ConstTB/fr|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/fr|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/fr|vector]]&nbsp;{{LSL Param/fr|color|couleur}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|alpha|transparence}}&nbsp;]
{{!}} colspan="3" {{!}}  
{{!}} colspan="3" {{!}}  
{{{!}} style="background-color:#F9F9F9;"
{{{!}} style="background-color:#F9F9F9;"
Line 176: Line 220:
{{!}}}
{{!}}}
{{!}}-
{{!}}-
{{LSL ConstTB/fr|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/fr|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/fr|integer]]&nbsp;{{HoverText|Effets de reflet|codes PRIM_SHINY_*}}, [[integer/fr|integer]]&nbsp;{{HoverText|Effets de matières|codes PRIM_BUMP_*}}&nbsp;]
{{!}} colspan="3" {{!}}
{{!}} colspan="3" {{!}}
{{!}}-
{{!}}-
Line 231: Line 275:
{{LSL ConstTB/fr|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/fr|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/fr|integer]]&nbsp;{{LSL Param/fr|face}}&nbsp;]}}
{{!}} colspan="5" {{!}} [ [[integer]]&nbsp;{{LSL Param/fr|boolean|booléen}}&nbsp;]
{{!}} colspan="5" {{!}} [ [[integer/fr|integer]]&nbsp;{{LSL Param/fr|boolean|booléen}}&nbsp;]
{{!}} colspan="3" {{!}}  
{{!}} colspan="3" {{!}}  
{{!}}-
{{!}}-
{{LSL ConstTB/fr|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/fr|integer]]&nbsp;{{LSL Param/fr|boolean|booléen}}, [[integer/fr|integer]]&nbsp;{{HoverText|souplesse|va de 0 à 1}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|flex_float|gravité}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|flex_float|résistance}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|flex_float|vent}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|flex_float|tension}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr||forces}}&nbsp;]
{{!}} colspan="3" {{!}}  
{{!}} colspan="3" {{!}}  
{{!}}-
{{!}}-
{{LSL ConstTB/fr|PRIM_CAST_SHADOWS|integer|24|b=[&nbsp;|e=&nbsp;]}}
{{LSL ConstTB/fr|PRIM_CAST_SHADOWS|integer|24|b=[&nbsp;<s>|e=</s>&nbsp;]|s1=id="PRIM_CAST_SHADOWS"}}
{{!}} colspan="5" {{!}} [ [[integer]]&nbsp;{{LSL Param/fr|boolean|booléen}}&nbsp;]
{{!}} colspan="5" {{!}} [ [[integer/fr|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/fr|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/fr|integer]]&nbsp;{{LSL Param/fr|face}}&nbsp;]|s=rowspan="4"}}
{{!}} colspan="5" {{!}} [ [[integer]]&nbsp;{{HoverText|type|codes PRIM_TEXGEN_* }}&nbsp;]
{{!}} colspan="5" {{!}} [ [[integer/fr|integer]]&nbsp;{{HoverText|type|codes PRIM_TEXGEN_* }}&nbsp;]
{{!}} colspan="3" {{!}}  
{{!}} colspan="3" {{!}}  
{{!}}-
{{!}}-
Line 255: Line 299:
{{!}}-
{{!}}-
{{LSL ConstTB/fr|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/fr|integer]]&nbsp;{{LSL Param/fr|boolean|booléen}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|color|couleur}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|intensity|intensité}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|radius|rayon}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|falloff|chute}}&nbsp;]
{{!}} colspan="3" {{!}}  
{{!}} colspan="3" {{!}}  
{{!}}-
{{!}}-
Line 261: Line 305:
{{!}} rowspan="8" {{!}} [ 1 ]<br/><s>{{LSL Const/fr|PRIM_TYPE_LEGACY|integer|1|nolink=*}}</s>
{{!}} rowspan="8" {{!}} [ 1 ]<br/><s>{{LSL Const/fr|PRIM_TYPE_LEGACY|integer|1|nolink=*}}</s>
{{!}} rowspan="8" {{!}} {{#var:value}}
{{!}} rowspan="8" {{!}} {{#var:value}}
{{!}} colspan="8" {{!}} [ [[integer]]&nbsp;{{HoverText|Valeurs|codes PRIM_TYPE_*}} ]
{{!}} colspan="8" {{!}} [ [[integer/fr|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 267: Line 311:
{{!}}-
{{!}}-
{{LSL ConstTB/fr|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/fr|vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|hollow|creux}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|twist_end|Fin de torsion}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|différence_de_taille}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|top_shear|translation_des_faces}}&nbsp;]
{{!}}-
{{!}}-
{{LSL ConstTB/fr|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/fr|vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|hollow|creux}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|twist_end|Fin de torsion}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|différence_de_taille}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|top_shear|translation_des_faces}}&nbsp;]
{{!}}-
{{!}}-
{{LSL ConstTB/fr|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/fr|vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|hollow|creux}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|twist_end|Fin de torsion}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|différence_de_taille}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|top_shear|translation_des_faces}}&nbsp;]
{{!}}-
{{!}}-
{{LSL ConstTB/fr|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/fr|vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|hollow|creux}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|cut|trou}}&nbsp;]
{{!}}-
{{!}}-
{{LSL ConstTB/fr|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/fr|vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|hollow|creux}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|twist_end|fin de torsion}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|hole_size_y|taille du trou Y}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|top_shear|translation_des_faces}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|cut|découpage_avancé}}&nbsp;]
{{!}}-
{{!}}-
{{LSL ConstTB/fr|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/fr|vector]]&nbsp;{{LSL Param/fr|cut|découpe}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|hollow|creux}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|twist_end|fin de torsion}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|topshear_x|translation_x}}&nbsp;]
}}
}}
{{!}}-
{{!}}-
Line 288: Line 332:
<noinclude>
<noinclude>
<div id="box">
<div id="box">
== Caveats ==
== Evertissement==
<div style="padding: 0.5em;">
<div style="padding: 0.5em;">
{{#var:caveats}}
{{#var:caveats}}
</div></div>
</div></div>
</noinclude>
</noinclude>

Revision as of 15:56, 20 June 2008

Codes Description Emploi
PRIM_TYPE Modifie la forme de la prim. PRIM_TYPE, integer flag ] + paramètres
PRIM_MATERIAL Modifie la matière de la prim PRIM_MATERIAL, integer flag ]
PRIM_PHYSICS Modifie l'état "physique" de la prim PRIM_PHYSICS, integer booléen ]
PRIM_TEMP_ON_REZ Modifie l'état "temporaire" de la prim. PRIM_TEMP_ON_REZ, integer booléen ]
PRIM_PHANTOM Modifie l'état "fantôme" de la prim.. PRIM_PHANTOM, integer booléen ]
PRIM_POSITION Modifie la position de la prim PRIM_POSITION, vector position ]
PRIM_ROTATION Modifie la rotation de la prim PRIM_ROTATION, rotation rot ]
PRIM_SIZE Modifie la taille de la prim PRIM_SIZE, vector taille ]
PRIM_TEXTURE Modifie les paramètres de texture de la prim PRIM_TEXTURE, integer face, string texture, vector répétitions, vector décalage, float rotation_en_radians ]
PRIM_COLOR Modifie la couleur de la prim PRIM_COLOR, integer face, vector couleur, float alpha ]
PRIM_BUMP_SHINY Modifie les effets luisant et de matière . PRIM_BUMP_SHINY, integer face, integer effet_luisant, integer effet_matière ]
PRIM_POINT_LIGHT Transforme la prim en source de lumière. PRIM_POINT_LIGHT, integer booléen, vector couleur, float intensité, float rayon, float vitesse_extinction ]
PRIM_FULLBRIGHT Active une face de la prim en "pleine lumière" PRIM_FULLBRIGHT, integer face, integer booléen ]
PRIM_FLEXIBLE Transforme la prim en flexible PRIM_FLEXIBLE, integer booléen, integer souplesse, float gravité, float frottement, float vent, float tension, vector force ]
PRIM_TEXGEN Modifie le mode de texturage. PRIM_TEXGEN, integer face, integer type ]
PRIM_GLOW Modifie le rayonnement de la prim. PRIM_GLOW, integer face, float intensité ]
PRIM_CAST_SHADOWS Active la création d'ombres. (DESACTIVE) PRIM_CAST_SHADOWS, integer booléen ]
PRIM_TYPE_LEGACY Modifie la forme de la prim (mode héritage, DESACTIVE). [ 1, integer flag ] + paramètres
Paramètres Valeurs renvoyées / Paramètres supplémentaires Description
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 découpe en rondelle]
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 [ integermaterial] Renvoie / Modifie la matière de la prim. La matière détermine les types de son de colision & de sprite.
codes matière Description
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 lumineux, DESACTIVE: Renvoyait le même résultat que [ PRIM_FULLBRIGHT, ALL_SIDES, TRUE ]
PRIM_PHYSICS ] 3 [ integer booléen ] Statut "physique" llGetStatus / llSetStatus/fr-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 décalage, 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 ]

Evertissement

  • 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.
  • 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 face vaut ALL_SIDES alors code s'applique à toutes les faces.
  • Si face correspond à une face qui n'existe pas, alors la fonction renvoie comme code la valeur :...
valeur Renvoyé si la face n'est pas valide
[ PRIM_COLOR ] ZERO_VECTOR, 0.0 ]
[ PRIM_GLOW ] 0.0 ]
[ PRIM_TEXTURE ] "", ZERO_VECTOR, ZERO_VECTOR, 0.0 ]
[ PRIM_FULLBRIGHT ] FALSE ]
[ PRIM_TEXGEN ] PRIM_TEXGEN_DEFAULT ]
PRIM_BUMP_SHINY ] PRIM_SHINY_NONE, PRIM_BUMP_NONE ]