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

From Second Life Wiki
Jump to navigation Jump to search
m (fixe... hope the last one.)
m
 
(12 intermediate revisions by 2 users not shown)
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_BOX/fr|{{{1|}}}}}
{{#vardefine:p_z_taper_desc|va de 0.0 à 2.0 (pour les valeurs x et y, z est ignoré)}}
{{:PRIM_TYPE_SCULPT/fr|{{{1|}}}}}
{{#vardefine:p_top_shear_desc|va de -0.5 à 0.5 (pour les valeurs x et y, z est ignoré)}}
{{:PRIM_PHANTOM/fr|{{{1|}}}}}
{{#vardefine:p_taper_desc|va de -1.0 à 1.0 (pour les valeurs x et y, z est ignoré)}}
{{:PRIM_TEMP_ON_REZ/fr|{{{1|}}}}}
{{#vardefine:p_revolutions_desc|va de 1.0 à 4.00}}
{{:PRIM_PHYSICS/fr|{{{1|}}}}}
{{#vardefine:p_radius_offset_desc|dépend de la taille du trou et de la rotation}}
{{:PRIM_SIZE/fr|{{{1|}}}}}
{{#vardefine:p_skew_desc|va de -1.0 à 1.0}}
{{:PRIM_POSITION/fr|{{{1|}}}}}
{{#vardefine:p_id_desc|}}
{{:PRIM_ROTATION/fr|{{{1|}}}}}
{{#vardefine:p_repeats_desc|x et y vont de 0.0 à 100, par incrément de 0.01 (z est ignoré)}}
{{:PRIM_FLEXIBLE/fr|{{{1|}}}}}
{{#vardefine:p_offsets_desc|x et y vont de -1 à 1 (z est ignoré)}}
{{:PRIM_POINT_LIGHT/fr|{{{1|}}}}}
{{#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:caveats|{{#ifeq:{{{1|set}}}|set|{{#var:caveats}}  
{{#vardefine:p_hole_size_y_desc|va de 0.05 (trou large) à 0.50 (aucun trou)}}
* Les valeurs peuvent changer, être tronquées ou bornées. Certaines limites sont appliquées par le client d'autres par la sim lors de leur traitement.  
{{#vardefine:p_size_desc|va de 0.01 à 10.0 pour x, y et z}}
** Lorsque vous testez des [[vector/fr|vectors]] et des [[rotation/fr|rotations]] utilisez respectivement les fonctions [[llVecDist/fr|llVecDist]] et [[llAngleBetween/fr|llAngleBetween]] pour réaliser des tests pertinents.|{{#var:caveats}}}}}}  
{{#vardefine:p_rot_desc|n'importe quelle rotation valide}}
{{LSL_Function/color/fr|couleur}}
{{#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|color}}
{{LSL_Function/alpha/fr|alpha}}
{{LSL_Function/alpha/fr|alpha}}
{{LSL_Function/face/fr|face|code|return={{#ifeq:{{{1|donne}}}|donne|...
{{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|code|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|code|code PRIM_MATERIAL_*}}&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|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_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_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{{{1|}}}|position}}&nbsp;]
{{!}}-
{{!}} [[#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;]
{{!}}-
{{!}} [[#PRIM_SIZE/fr|PRIM_SIZE]]
{{!}} Modifie la taille de la prim
{{!}} [&nbsp;{{LSL Const/fr|PRIM_SIZE|integer|7}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|size|taille}}&nbsp;]
{{!}}-
{{!}} [[#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|repeats|répétitions}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|offsets|décalage}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|rotation_in_radians|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;{{LSL Param/fr|shiny|effets de reflet}}, [[integer/fr|integer]]&nbsp;{{LSL Param/fr|bump|effets de matières}}&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|intensity|intensité}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|radius|rayon}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|falloff|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;{{LSL Param/fr|softness|souplesse}}, [[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_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_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_FULLBRIGHT/fr|PRIM_FULLBRIGHT]] ] {{!!}} [ {{HoverLink|FALSE|(0) integer booléen}} ]
{{!}} [[#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|intensity|intensité}}&nbsp;]
{{!}}-
{{!}}-
{{!!}} [ [[PRIM_TEXGEN/fr|PRIM_TEXGEN]] ] {{!!}} [ {{HoverLink|PRIM_TEXGEN_DEFAULT|(0) integer type}} ]
{{!}} [[#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;]
{{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_TYPE_LEGACY/fr|PRIM_TYPE_LEGACY]]
{{#vardefine:p_force_desc|}}
{{!}} Modifie la forme de la prim  (mode héritage, '''DESACTIVE''').
{{#vardefine:p_intensity_desc|va de 0.0 à 1.0}}
{{!}} [&nbsp;1, [[integer/fr|integer]]&nbsp;{{HoverText|codes|code PRIM_TYPE_*}}&nbsp;]&nbsp;+ {{HoverLink|#PRIM_TYPE_LEGACY_flag_parameters|Paramètres suplémentaires requis par ce code|paramètres}}
{{#vardefine:p_radius_desc|va de 0.1 à 10.0}}
{{!}}} }}
{{#vardefine:p_falloff_desc|va de 0.01 à 1.0}} }}
{{{!}} {{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" {{!}} Descriptions
{{!}}-
{{!}}-
{{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="21"|s1=id="PRIM_TYPE"}}
{{!}} 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
! colspan="6" {{!}} Valeurs des paramètres
! colspan="6" {{!}} Valeurs des paramètres {{!}} {{GetSet/fr|{{{1|}}}|Valeurs&nbsp;renvoyées|Paramètres}}
{{!}}-
{{!}}-
{{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|trou}}]
{{!}} 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="11" colspan="2" {{!}} &nbsp;
! colspan="2" {{!}} {{LSL Param/fr|hole_shape|Codes de forme_du_trou}}&nbsp;
! colspan="2" {{!}} {{LSL Param/fr|hole_shape|Codes de forme_du_trou}}&nbsp;
!{{!}} Formes
!{{!}} Formes
Line 92: Line 158:
!{{!}} Formes
!{{!}} Formes
{{!}}-
{{!}}-
{{LSL ConstTB/fr|PRIM_HOLE_DEFAULT|integer|hex=0x00}}
{{LSL ConstTB/fr|PRIM_HOLE_DEFAULT|integer|hex=0x00|ihex=0}}
{{!!}} Par défaut
{{!!}} Par défaut
{{LSL ConstTB/fr|PRIM_HOLE_SQUARE|integer|hex=0x20}}
{{LSL ConstTB/fr|PRIM_HOLE_SQUARE|integer|hex=0x20|ihex=32}}
{{!!}} Carré
{{!!}} Carré
{{!}}-
{{!}}-
{{LSL ConstTB/fr|PRIM_HOLE_CIRCLE|integer|hex=0x10}}
{{LSL ConstTB/fr|PRIM_HOLE_CIRCLE|integer|hex=0x10|ihex=16}}
{{!!}} Cercle
{{!!}} Cercle
{{LSL ConstTB/fr|PRIM_HOLE_TRIANGLE|integer|hex=0x30}}
{{LSL ConstTB/fr|PRIM_HOLE_TRIANGLE|integer|hex=0x30|ihex=48}}
{{!!}} Triangle
{{!!}} Triangle
{{!}}-
{{!}}-
{{LSL Constants/PrimitiveParams/sculpt types/fr}}
{{LSL Constants/PrimitiveParams/sculpt types/fr}}
{{!}}-
{{!}}- style="background-color: rgba(0, 0, 0, 0.1);"
{{!}} 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|matière}}]
{{!}} 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 collisions]] & de  [[llCollisionSprite/fr|sprite]] à utiliser.
{{!}}-
! 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;|s1=id="PRIM_TEMP_ON_REZ"}}
{{!}} 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" {{!}} Objet temporaire {{GetSet|{{{1|}}}|[[llGetStatus/fr|llGetStatus]]|[[llSetStatus/fr|llSetStatus]]}}
{{!}} colspan="3" {{!}} Statut "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;]|s1=id="PRIM_PHANTOM"}}
{{!}} 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 "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;]|s1=id="PRIM_POSITION"}}
{{!}} colspan="5" {{!}} [ [[vector]]&nbsp;{{LSL Param/fr|position}}&nbsp;]
{{!}} colspan="5" {{!}} [ [[vector/fr|vector]]&nbsp;{{LSL Param/fr|position{{{1|}}}|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;]|s1=id="PRIM_ROTATION"}}
{{!}} 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;]|s1=id="PRIM_SIZE"}}
{{!}} colspan="5" {{!}} [ [[vector]]&nbsp;{{LSL Param/fr|size|taille}}&nbsp;]
{{!}} colspan="5" {{!}} [ [[vector/fr|vector]]&nbsp;{{LSL Param/fr|size|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;]|s1=id="PRIM_TEXTURE"}}
{{!}} 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|repeats|répétitions}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|offsets|décalage}}, [[float/fr|float]]&nbsp;{{LSL Param/fr|rotation_in_radians|Rotation en radians}}&nbsp;]
{{!}} colspan="3" {{!}}
{{!}} colspan="3" {{!}}
{{{!}} style="background-color:#F9F9F9;"
{{{!}} style="background-color:#F9F9F9;"
Line 162: Line 210:
{{!!}}Répétition: {{!}}{{!}} {{#ifeq:{{{1|get}}}|get|[[llGetTextureScale/fr|llGetTextureScale]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llScaleTexture/fr|llScaleTexture]]}}
{{!!}}Répétition: {{!}}{{!}} {{#ifeq:{{{1|get}}}|get|[[llGetTextureScale/fr|llGetTextureScale]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llScaleTexture/fr|llScaleTexture]]}}
{{!}}-
{{!}}-
{{!!}}Offset: {{!}}{{!}} {{#ifeq:{{{1|get}}}|get|[[llGetTextureOffset/fr|llGetTextureOffset]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llOffsetTexture/fr|llOffsetTexture]]}}
{{!!}}Décalage: {{!}}{{!}} {{#ifeq:{{{1|get}}}|get|[[llGetTextureOffset/fr|llGetTextureOffset]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llOffsetTexture/fr|llOffsetTexture]]}}
{{!}}-
{{!}}-
{{!!}}Rotation: {{!}}{{!}} {{#ifeq:{{{1|get}}}|get|[[llGetTextureRot/fr|llGetTextureRot]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llRotateTexture/fr|llRotateTexture]]}}
{{!!}}Rotation: {{!}}{{!}} {{#ifeq:{{{1|get}}}|get|[[llGetTextureRot/fr|llGetTextureRot]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llRotateTexture/fr|llRotateTexture]]}}
{{!}}}
{{!}}}
{{!}}-
{{!}}-
{{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|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 224:
{{!}}}
{{!}}}
{{!}}-
{{!}}-
{{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"|s1=id="PRIM_BUMP_SHINY"}}
{{!}} colspan="5" {{!}} [ [[integer]]&nbsp;{{HoverText|Effets de reflet|codes PRIM_SHINY_*}}, [[integer]]&nbsp;{{HoverText|Effets de matières|codes PRIM_BUMP_*}}&nbsp;]
{{!}} colspan="5" {{!}} [&nbsp;[[integer/fr|integer]]&nbsp;{{LSL Param/fr|shiny|effets de reflet}}, [[integer/fr|integer]]&nbsp;{{LSL Param/fr|bump|effets de matières}}&nbsp;]
{{!}} colspan="3" {{!}}
{{!}} colspan="3" {{!}}
{{!}}-
{{!}}-
! colspan="2" {{!}} {{HoverText|Effets de reflets|codes PRIM_SHINY_*}} & {{HoverText|Effets de matière|codes PRIM_BUMP_* }} (valeurs des constantes)
{{LSL_Constants/PrimitiveParams/bumpshiny/fr}}
! colspan="6" {{!}} Description
{{!}}-
{{!}}-
{{LSL ConstTB/fr|PRIM_SHINY_NONE|integer|0|m=3|s3=colspan="6"|c=aucun}}
{{LSL ConstTB/fr|PRIM_FULLBRIGHT|integer|20|b=[&nbsp;|e=, [[integer/fr|integer]]&nbsp;{{LSL Param/fr|face}}&nbsp;]|s1=id="PRIM_FULLBRIGHT"}}
{{!}}-
{{!}} colspan="5" {{!}} [ [[integer/fr|integer]]&nbsp;{{LSL Param/fr|booléen}}&nbsp;]
{{LSL ConstTB/fr|PRIM_SHINY_LOW|integer|1|m=3|s3=colspan="6"|c=bas}}
{{!}} colspan="3" {{!}}  
{{!}}-
{{LSL ConstTB/fr|PRIM_SHINY_MEDIUM|integer|2|m=3|s3=colspan="6"|c=moyen}}
{{!}}-
{{LSL ConstTB/fr|PRIM_SHINY_HIGH|integer|3|m=3|s3=colspan="6"|c=haut}}
{{!}}-
{{!!}}
{{!!}}
{{!}} colspan="6" {{!}}
{{!}}-
{{LSL ConstTB/fr|PRIM_BUMP_NONE|integer|0|m=3|s3=colspan="6"|c=aucun: aucun effet}}
{{!}}-
{{LSL ConstTB/fr|PRIM_BUMP_BRIGHT|integer|1|m=3|s3=colspan="6"|c=luminosité: generé par les lumières intenses}}
{{!}}-
{{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/fr|PRIM_BUMP_WOOD|integer|3|m=3|s3=colspan="6"|c=aggloméré}}
{{!}}-
{{LSL ConstTB/fr|PRIM_BUMP_BARK|integer|4|m=3|s3=colspan="6"|c=écorce}}
{{!}}-
{{LSL ConstTB/fr|PRIM_BUMP_BRICKS|integer|5|m=3|s3=colspan="6"|c=brique}}
{{!}}-
{{LSL ConstTB/fr|PRIM_BUMP_CHECKER|integer|6|m=3|s3=colspan="6"|c=damier}}
{{!}}-
{{LSL ConstTB/fr|PRIM_BUMP_CONCRETE|integer|7|m=3|s3=colspan="6"|c=béton}}
{{!}}-
{{LSL ConstTB/fr|PRIM_BUMP_TILE|integer|8|m=3|s3=colspan="6"|c=carrelage}}
{{!}}-
{{LSL ConstTB/fr|PRIM_BUMP_STONE|integer|9|m=3|s3=colspan="6"|c=pierre de taille}}
{{!}}-
{{LSL ConstTB/fr|PRIM_BUMP_DISKS|integer|10|m=3|s3=colspan="6"|c=disque}}
{{!}}-
{{LSL ConstTB/fr|PRIM_BUMP_GRAVEL|integer|11|m=3|s3=colspan="6"|c=gravier}}
{{!}}-
{{LSL ConstTB/fr|PRIM_BUMP_BLOBS|integer|12|m=3|s3=colspan="6"|c=Petri}}
{{!}}-
{{LSL ConstTB/fr|PRIM_BUMP_SIDING|integer|13|m=3|s3=colspan="6"|c=lattes}}
{{!}}-
{{LSL ConstTB/fr|PRIM_BUMP_LARGETILE|integer|14|m=3|s3=colspan="6"|c=pierre}}
{{!}}-
{{LSL ConstTB/fr|PRIM_BUMP_STUCCO|integer|15|m=3|s3=colspan="6"|c=stuc}}
{{!}}-
{{LSL ConstTB/fr|PRIM_BUMP_SUCTION|integer|16|m=3|s3=colspan="6"|c=effet aspiration}}
{{!}}-
{{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_FLEXIBLE|integer|21|b=[&nbsp;|e=&nbsp;]|s1=id="PRIM_FLEXIBLE"}}
{{!}} colspan="5" {{!}} [ [[integer]]&nbsp;{{LSL Param/fr|boolean|booléen}}&nbsp;]
{{!}} colspan="5" {{!}} [ [[integer/fr|integer]]&nbsp;{{LSL Param/fr|booléen}}, [[integer/fr|integer]]&nbsp;{{LSL Param/fr|softness|souplesse}}, [[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;]
{{!}} colspan="3" {{!}}  
{{!}} colspan="3" {{!}}  
{{!}}-
{{!}}-
{{LSL ConstTB/fr|PRIM_FLEXIBLE|integer|21|b=[&nbsp;|e=&nbsp;]}}
{{LSL ConstTB/fr|PRIM_TEXGEN|integer|22|b=[&nbsp;|e=, [[integer/fr|integer]]&nbsp;{{LSL Param/fr|face}}&nbsp;]|s=rowspan="4"|s1=id="PRIM_TEXGEN"}}
{{!}} 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;{{HoverText|modes texture|codes PRIM_TEXGEN_* }}&nbsp;]
{{!}} colspan="3" {{!}}  
{{!}} colspan="3" {{!}}  
{{!}}-
{{!}}-
{{LSL ConstTB/fr|PRIM_CAST_SHADOWS|integer|24|b=[&nbsp;|e=&nbsp;]}}
{{LSL Constants/PrimitiveParams/texgen/fr}}
{{!}} colspan="5" {{!}} [ [[integer]]&nbsp;{{LSL Param/fr|boolean|booléen}}&nbsp;]
{{!}} 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_POINT_LIGHT|integer|23|b=[&nbsp;|e=&nbsp;]|s1=id="PRIM_POINT_LIGHT"}}
{{!}} colspan="5" {{!}} [ [[integer]]&nbsp;{{HoverText|type|codes PRIM_TEXGEN_* }}&nbsp;]
{{!}} colspan="5" {{!}} [ [[integer/fr|integer]]&nbsp;{{LSL Param/fr|booléen}}, [[vector/fr|vector]]&nbsp;{{LSL Param/fr|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|vitesse_extinction}}&nbsp;]
{{!}} colspan="3" {{!}}  
{{!}} colspan="3" {{!}}  
{{!}}-
{{!}}-
! colspan="2" {{!}} {{HoverText|Valeurs|codes PRIM_TEXGEN_*}} des constantes
{{LSL ConstTB/fr|PRIM_GLOW|integer|25|b=[&nbsp;|e=, [[integer/fr|integer]]&nbsp;{{LSL Param/fr|face}}&nbsp;]|s1=id="PRIM_GLOW"}}
! colspan="6" {{!}} Description
{{!}} colspan="5" {{!}} [ [[float/fr|float]]&nbsp;{{LSL Param/fr|intensity|intensité}}&nbsp;]
{{!}} colspan="3" {{!}}  
{{!}}-
{{!}}-
{{LSL ConstTB/fr|PRIM_TEXGEN_DEFAULT|integer|0|m=3|s3=colspan="6"|c=}}
{{LSL ConstTB/fr|PRIM_CAST_SHADOWS|integer|24|b=[&nbsp;<s>|e=</s>&nbsp;]|s1=id="PRIM_CAST_SHADOWS"}}
{{!}}-
{{!}} colspan="5" {{!}} [ [[integer/fr|integer]]&nbsp;{{LSL Param/fr|booléen}}&nbsp;]
{{LSL ConstTB/fr|PRIM_TEXGEN_PLANAR|integer|1|m=3|s3=colspan="6"|c=}}
{{!}} colspan="3" {{!}} Génération d'ombre par la prim '''DESACTIVE'''
{{!}}-
{{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="3" {{!}}  
{{!}}-
{{!}}-
{{#ifeq:{{{1|set}}}|set|
{{#ifeq:{{{1|set}}}|set|
{{!}} 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|type héritage|codes PRIM_TYPE_*}} ]
{{!}}-
{{!}}-
! colspan="2" {{!}} {{HoverText|Valeurs|codes PRIM_TYPE_*}} des constantes
! colspan="2" {{!}} {{HoverText|Valeurs|codes PRIM_TYPE_*}} des constantes
! colspan="6" {{!}} Codification des parametres
! colspan="6" {{!}} Codification des paramètres
{{!}}-
{{!}}-
{{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 286:
<noinclude>
<noinclude>
<div id="box">
<div id="box">
== Caveats ==
== Avertissements ==
<div style="padding: 0.5em;">
<div style="padding: 0.5em;">
{{#var:caveats}}
{{#var:caveats}}
</div></div>
</div></div>
</noinclude>
</noinclude>

Latest revision as of 23:47, 16 May 2012

Codes Description Emploi
PRIM_TYPE Modifie la forme de la prim. PRIM_TYPE, integer code ] + paramètres
PRIM_MATERIAL Modifie la matière de la prim PRIM_MATERIAL, integer code ]
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 effets de reflet, integer effets de matières ]
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 codes ] + paramètres
Paramètres Valeurs renvoyées / Paramètres supplémentaires Descriptions
PRIM_TYPE ] 9 [ integer Codes ] Renvoie / Modifie la forme de la prim.
Valeurs des constantes Valeurs des paramètres | Valeurs renvoyées / 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 [ integer matière] Renvoie / Modifie la matière de la prim. La matière détermine les types de son de collisions & de sprite à utiliser.
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
PRIM_TEMP_ON_REZ  4 [ integer booléen ] Statut "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
Décalage: 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 ]
Codes luisant & matière Description
PRIM_SHINY_NONE 0 aucun
PRIM_SHINY_LOW 1 bas
PRIM_SHINY_MEDIUM 2 moyen
PRIM_SHINY_HIGH 3 haut
PRIM_BUMP_NONE 0 aucun effet
PRIM_BUMP_BRIGHT 1 luminosité: généré par les lumières intenses
PRIM_BUMP_DARK 2 obscurité: généré par les lumières basses
PRIM_BUMP_WOOD 3 aggloméré
PRIM_BUMP_BARK 4 écorce
PRIM_BUMP_BRICKS 5 brique
PRIM_BUMP_CHECKER 6 damier
PRIM_BUMP_CONCRETE 7 béton
PRIM_BUMP_TILE 8 carrelage
PRIM_BUMP_STONE 9 pierre de taille
PRIM_BUMP_DISKS 10 disque
PRIM_BUMP_GRAVEL 11 gravier
PRIM_BUMP_BLOBS 12 boîte de Petri
PRIM_BUMP_SIDING 13 latte
PRIM_BUMP_LARGETILE 14 pierre
PRIM_BUMP_STUCCO 15 stuc
PRIM_BUMP_SUCTION 16 effet aspiration
PRIM_BUMP_WEAVE 17 texture
PRIM_FULLBRIGHT, integer face ] 20 [ integer booléen ]
PRIM_FLEXIBLE ] 21 [ integer booléen, integer souplesse, float gravité, float frottement, float vent, float tension, vector force ]
PRIM_TEXGEN, integer face ] 22 [ integer modes texture ]
Constante mode Descriptions
PRIM_TEXGEN_DEFAULT 0
PRIM_TEXGEN_PLANAR 1
PRIM_POINT_LIGHT ] 23 [ integer booléen, vector couleur, float intensité, float rayon, float vitesse_extinction ]
PRIM_GLOW, integer face ] 25 [ float intensité ]
PRIM_CAST_SHADOWS ] 24 [ integer booléen ] Génération d'ombre par la prim DESACTIVE
[ 1 ]
PRIM_TYPE_LEGACY
1 [ integer type héritage ]
Valeurs des constantes Codification des paramètres
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 ]

Avertissements

  • 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.
  • Les valeurs peuvent changer, être tronquées ou bornées. Certaines limites sont appliquées par le client d'autres par la sim lors de leur traitement.
  • 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 ]