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

From Second Life Wiki
Jump to: navigation, search
m
Line 1: Line 1:
{{{!}} {{Prettytable}} {{#switch:{{NAMESPACE}}|Template=|User=|{{LSLC/ja|Light}}}}
+
<noinclude>{{multi-lang}}</noinclude>{{#if:
{{#if:
+
{{:PRIM_COLOR|{{{1|}}}}}
{{#vardefine:p_type_desc|PRIM_SCULPT_TYPE_* flag}}
+
{{:PRIM_GLOW|{{{1|}}}}}
{{#vardefine:p_hole_shape_desc|PRIM_HOLE_* flag}}
+
{{:PRIM_TEXTURE|{{{1|}}}}}
{{#vardefine:p_cut_desc|x and y range from 0.0~1.0でのxとyの範囲で、xはy(zは除く)よりすくなくとも0.05少なくする必要があります。}}
+
{{:PRIM_FULLBRIGHT|{{{1|}}}}}
{{#vardefine:p_hollow_desc|0.0(初期値)~0.95(許容最大値)の範囲}}
+
{{:PRIM_TEXGEN|{{{1|}}}}}
{{#vardefine:p_twist_box_desc|xとy(zは除く)の両方で、-0.5(編集画面で-180°)~0.5(編集画面で+180°)の範囲}}
+
{{:PRIM_BUMP_SHINY|{{{1|}}}}}
{{#vardefine:p_twist_torus_desc|xとy(zは除く)の両方で、-1.0(編集画面で-360°)~1.0(編集画面で+360°)の範囲}}
+
{{:PRIM_MATERIAL|{{{1|}}}}}
{{#vardefine:p_hole_size_desc|0.05~1.0でのxの範囲、0.05(大きな穴)~0.50(穴なし)でのyの範囲}}
+
{{:PRIM_TYPE|{{{1|}}}}}
{{#vardefine:p_top_size_desc|xとy(zは除く)の両方で、0.0~1.0の範囲}}
+
{{:PRIM_TYPE_BOX|{{{1|}}}}}
{{#vardefine:p_z_taper_desc|xとy(zは除く)の両方で、0.0~2.0の範囲}}
+
{{:PRIM_TYPE_SCULPT|{{{1|}}}}}
{{#vardefine:p_top_shear_desc|xとy(zは除く)の両方で、-0.5~0.5の範囲}}
+
{{:PRIM_PHANTOM|{{{1|}}}}}
{{#vardefine:p_taper_desc|xとy(zは除く)の両方で、-1.0~1.0の範囲}}
+
{{:PRIM_TEMP_ON_REZ|{{{1|}}}}}
{{#vardefine:p_revolutions_desc|1.0~4.00の範囲}}
+
{{:PRIM_PHYSICS|{{{1|}}}}}
{{#vardefine:p_radius_offset_desc|穴の大きさyと回転を加える}}
+
{{:PRIM_SIZE|{{{1|}}}}}
{{#vardefine:p_skew_desc|-1.0~1.0の範囲}}
+
{{:PRIM_POSITION|{{{1|}}}}}
{{#vardefine:p_id_desc|}}
+
{{:PRIM_ROTATION|{{{1|}}}}}
{{#vardefine:p_repeats_desc|0.01単位での0.0~100の、xとyの範囲(zは除く))}}
+
{{:PRIM_FLEXIBLE|{{{1|}}}}}
{{#vardefine:p_offsets_desc|-1~1でのxとyの範囲(zは除く)}}
+
{{:PRIM_POINT_LIGHT|{{{1|}}}}}
{{#vardefine:p_flex_float_desc|0.0~10.0の範囲}}
+
 
{{#vardefine:p_twist_end_desc|-0.5(編集画面で-180°)~0.5(編集画面で+180°)の範囲}}
+
{{#vardefine:caveats|{{#ifeq:{{{1|set}}}|set|{{#var:caveats}}
{{#vardefine:p_hole_size_y_desc|0.05(大きな穴)~0.50(穴なし)の範囲}}
+
* [[PRIM_PHANTOM/ja|PRIM_PHANTOM]], [[PRIM_PHYSICS/ja|PRIM_PHYSICS]] と [[PRIM_TEMP_ON_REZ/ja|PRIM_TEMP_ON_REZ]] は内部オブジェクト(リンクセット)に適用されます。
{{#vardefine:p_size_desc|x、yそしてzでの0.01~10.0の範囲}}
+
* 値は草案で、切り捨て或いは制限された範囲になるでしょう。いくつかの制限は本来の形式にてクライアントによって適用され、その他の値はSIMが値を蓄積しようと試みたときにシミュレータによって適用されます。
{{#vardefine:p_rot_desc|なんらかの有効なrotation}}
+
**  [[vector/ja|vector]]と[[rotation/ja|rotation]]をテストする時には、不明瞭なテストを実行するために(丁重に)[[llVecDist/ja|llVecDist]]と[[llAngleBetween/ja|llAngleBetween]] を用います。|{{#var:caveats}}}}}}
{{#vardefine:p_topshear_x_desc|0.05~0.50の範囲}}
+
 
{{#vardefine:p_boolean_desc|TRUE (有効) もしくは FALSE (無効)}}
+
 
{{LSL_Function/color/ja|color}}
 
{{LSL_Function/color/ja|color}}
 
{{LSL_Function/alpha/ja|alpha}}
 
{{LSL_Function/alpha/ja|alpha}}
{{LSL_Function/face/ja|face|flag|return={{#ifeq:{{{1|get}}}|get|...
+
{{LSL_Function/boolean/ja|boolean}}
 +
{{LSL_Function/face/ja|face|flag|!footer=*|return={{#ifeq:{{{1|get}}}|取得|...
 
:{{{!}}{{Prettytable}}
 
:{{{!}}{{Prettytable}}
 
{{!}}-{{Hl2}}
 
{{!}}-{{Hl2}}
!{{HoverText|flag|PRIM_* flag}}
+
!{{HoverText/ja|flag|PRIM_* flag}}
!面が無効な場合返します
+
!表面が無効の場合に返します。
 
{{!}}-
 
{{!}}-
{{!!}} [ [[PRIM_TEXTURE/ja|PRIM_TEXTURE]] ] {{!!}} [ {{HoverText|""|string texture}}, {{HoverLink/ja|ZERO_VECTOR|{{LSL VR|0.0|0.0|0.0}} vector repeats}}, {{HoverLink/ja|ZERO_VECTOR|{{LSL VR|0.0|0.0|0.0}} vector offsets}}, {{HoverText|0.0|float rotation_in_radians}} ]
+
{{#var:facetable}}
 
{{!}}-
 
{{!}}-
{{!!}} [ [[PRIM_COLOR/ja|PRIM_COLOR]] ] {{!!}} [ {{HoverLink/ja|ZERO_VECTOR|{{LSL VR|0.0|0.0|0.0}} vector color}}, {{HoverText|0.0|float alpha}} ]
 
{{!}}-
 
{{!!}} [ [[PRIM_BUMP_SHINY/ja|PRIM_BUMP_SHINY]] ] {{!!}} [ {{HoverLink/ja|PRIM_SHINY_NONE|(0) integer shiny}}, {{HoverLink/ja|PRIM_BUMP_NONE|(0) integer bump}} ]
 
{{!}}-
 
{{!!}} [ [[PRIM_FULLBRIGHT/ja|PRIM_FULLBRIGH]] ] {{!!}} [ {{HoverLink/ja|FALSE|(0) integer boolean}} ]
 
{{!}}-
 
{{!!}} [ [[PRIM_TEXGEN/ja|PRIM_TEXGE]] ] {{!!}} [ {{HoverLink/ja|PRIM_TEXGEN_DEFAULT|(0) integer type}} ]
 
 
{{!}}}
 
{{!}}}
 
}}}}
 
}}}}
{{LSL_Function/inventory/ja|map|uuid=true|type=texture|{{#ifeq:{{{1|}}}|get|no_caveat=true}}|full={{{remote|}}}}}
+
 
{{LSL_Function/inventory/ja|texture|uuid=true|type=texture|{{#ifeq:{{{1|}}}|get|no_caveat=true}}|full={{{remote|}}}}}
+
}}{{#ifeq:{{{1|<noinclude>設定</noinclude>}}}|設定|
{{#vardefine:p_rotation_in_radians_desc|ラジアンでのアングル}}
+
{{{!}} class="sortable" {{Prettytable|style=margin: 0px 0px 10px 1pt;}}
{{#vardefine:p_force_desc|}}
+
{{#vardefine:p_intensity_desc|0.0~1.0の範囲}}
+
{{#vardefine:p_radius_desc|0.1~10.0の範囲}}
+
{{#vardefine:p_falloff_desc|0.01~1.0の範囲}} }}
+
 
{{!}}- {{Hl2}}
 
{{!}}- {{Hl2}}
! colspan="2" {{!}} パラメータ
+
! class="sortable" {{!}}フラグ
! colspan="2" {{!}} 付加パラメータ
+
! class="sortable" {{!}}説明
! colspan="6" {{!}} 説明
+
! class="unsortable" {{!}}使い方
 
{{!}}-
 
{{!}}-
{{LSL ConstTB/ja|PRIM_TYPE|integer|9|b=[&nbsp;|e=&nbsp;]|s=rowspan="18"}}
+
{{!}} [[#PRIM_TYPE|PRIM_TYPE]]
{{!}} colspan="2" {{!}} [ [[integer/ja|integer]]&nbsp;{{HoverText|flag|PRIM_TYPE_* flag}} ]
+
{{!}} プリムの形状を設定します。
{{!}} colspan="6" {{!}} プリムの形状を{{GetSet|{{{1|}}}|取得|設定}}します。
+
{{!}} [&nbsp;{{LSL Const|PRIM_TYPE|integer|9}}, [[integer/ja|integer]]&nbsp;{{HoverText|flag|PRIM_TYPE_* flag}}&nbsp;]&nbsp;+ {{HoverLink|#PRIM_TYPE_flag_parameters|フラグによって要求される付与パラメータ|フラグパラメータ}}
 
{{!}}-
 
{{!}}-
! colspan="2" {{!}} {{HoverText|flag|PRIM_TYPE_*フラグ}}定数
+
{{!}} [[#PRIM_MATERIAL|PRIM_MATERIAL]]
! colspan="6" {{!}} フラグパラメータ
+
{{!}} プリムの素材を設定します。
 +
{{!}} [&nbsp;{{LSL Const|PRIM_MATERIAL|integer|2}}, [[integer/ja|integer]]&nbsp;{{HoverText|flag|PRIM_MATERIAL_* flag}}&nbsp;]
 
{{!}}-
 
{{!}}-
{{LSL ConstTB/ja|PRIM_TYPE_BOX|integer|0}}
+
{{!}} [[#PRIM_PHYSICS|PRIM_PHYSICS]]
{{!}} colspan="6" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|hole_shape}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|cut}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|hollow}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|twist_box|twist}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|z_taper|top_size}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|top_shear}}&nbsp;]
+
{{!}} プリムの物理状態を設定します。
 +
{{!}} [&nbsp;{{LSL Const|PRIM_PHYSICS|integer|3}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}&nbsp;]
 
{{!}}-
 
{{!}}-
{{LSL ConstTB/ja|PRIM_TYPE_CYLINDER|integer|1}}
+
{{!}} [[#PRIM_TEMP_ON_REZ|PRIM_TEMP_ON_REZ]]
{{!}} colspan="6" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|hole_shape}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|cut}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|hollow}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|twist_box|twist}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|z_taper|top_size}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|top_shear}}&nbsp;]
+
{{!}} {{LSLGC|Temporary|テンポラリ}}属性を設定します。
 +
{{!}} [&nbsp;{{LSL Const|PRIM_TEMP_ON_REZ|integer|4}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}&nbsp;]
 
{{!}}-
 
{{!}}-
{{LSL ConstTB/ja|PRIM_TYPE_PRISM|integer|2}}
+
{{!}} [[#PRIM_PHANTOM|PRIM_PHANTOM]]
{{!}} colspan="6" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|hole_shape}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|cut}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|hollow}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|twist_box|twist}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|z_taper|top_size}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|top_shear}}&nbsp;]
+
{{!}} オブジェクトのファントム状態を設定します。
 +
{{!}} [&nbsp;{{LSL Const|PRIM_PHANTOM|integer|5}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}&nbsp;]
 
{{!}}-
 
{{!}}-
{{LSL ConstTB/ja|PRIM_TYPE_SPHERE|integer|3}}
+
{{!}} [[#PRIM_POSITION|PRIM_POSITION]]
{{!}} colspan="6" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|hole_shape}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|cut}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|hollow}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|twist_torus|twist}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|cut|dimple}}]
+
{{!}} プリムの位置を設定します。
 +
{{!}} [&nbsp;{{LSL Const|PRIM_POSITION|integer|6}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|position{{{1|}}}|position}}&nbsp;]
 
{{!}}-
 
{{!}}-
{{LSL ConstTB/ja|PRIM_TYPE_TORUS|integer|4}}
+
{{!}} [[#PRIM_ROTATION|PRIM_ROTATION]]
{{!}} colspan="6" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|hole_shape}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|cut}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|hollow}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|twist_torus|twist}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|hole_size}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|top_shear}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|cut|advanced_cut}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|taper}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|revolutions}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|radius_offset}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|skew}}&nbsp;]
+
{{!}} プリムの回転を設定します。
 +
{{!}} [&nbsp;{{LSL Const|PRIM_ROTATION|integer|8}}, [[rotation]]&nbsp;{{LSL Param/ja|rot}}&nbsp;]
 
{{!}}-
 
{{!}}-
{{LSL ConstTB/ja|PRIM_TYPE_TUBE|integer|5}}
+
{{!}} [[#PRIM_SIZE|PRIM_SIZE]]
{{!}} colspan="6" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|hole_shape}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|cut}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|hollow}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|twist_torus|twist}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|hole_size}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|top_shear}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|cut|advanced_cut}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|taper}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|revolutions}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|radius_offset}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|skew}}&nbsp;]
+
{{!}} プリムの大きさを設定します。
 +
{{!}} [&nbsp;{{LSL Const|PRIM_SIZE|integer|7}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|size}}&nbsp;]
 
{{!}}-
 
{{!}}-
{{LSL ConstTB/ja|PRIM_TYPE_RING|integer|6}}
+
{{!}} [[#PRIM_TEXTURE|PRIM_TEXTURE]]
{{!}} colspan="6" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|hole_shape}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|cut}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|hollow}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|twist_torus|twist}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|hole_size}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|top_shear}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|cut|advanced_cut}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|taper}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|revolutions}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|radius_offset}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|skew}}&nbsp;]
+
{{!}} プリムのテキスチャ属性を設定します。
 +
{{!}} [&nbsp;{{#var:texture_const}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}, [[string/ja|string]]&nbsp;{{LSL Param/ja|texture}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|repeats}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|offsets}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|rotation_in_radians}}&nbsp;]
 
{{!}}-
 
{{!}}-
{{LSL ConstTB/ja|PRIM_TYPE_SCULPT|integer|7}}
+
{{!}} [[#PRIM_COLOR|PRIM_COLOR]]
{{!}} colspan="6" {{!}} [ [[string/ja|string]]&nbsp;{{LSL Param/ja|map}},&nbsp;[[integer/ja|integer]]&nbsp;{{LSL Param/ja|type}}&nbsp;] [[Sculpted_Prims:_FAQ/ja|Sculpted_Prims:_FAQ]]
+
{{!}} 表面の色を設定します。
 +
{{!}} [&nbsp;{{#var:color_const}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|color}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|alpha}}&nbsp;]
 
{{!}}-
 
{{!}}-
{{!}} rowspan="8" colspan="2" {{!}} &nbsp;
+
{{!}} [[#PRIM_BUMP_SHINY|PRIM_BUMP_SHINY]]
! colspan="2" {{!}} {{LSL Param/ja|hole_shape}}&nbsp;Flags
+
{{!}} 表面の輝きと隆起を設定します。
!{{!}} 形状
+
{{!}} [&nbsp;{{LSL Const|PRIM_BUMP_SHINY|integer|19}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|shiny}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|bump}}&nbsp;]
! colspan="2" {{!}} {{LSL Param/ja|hole_shape}}&nbsp;Flags
+
!{{!}} 形状
+
 
{{!}}-
 
{{!}}-
{{LSL ConstTB/ja|PRIM_HOLE_DEFAULT|integer|hex=0x00}}
+
{{!}} [[#PRIM_POINT_LIGHT|PRIM_POINT_LIGHT]]
{{!!}} 標準
+
{{!}} プリムの光源を設定します。
{{LSL ConstTB/ja|PRIM_HOLE_SQUARE|integer|hex=0x20}}
+
{{!}} [&nbsp;{{LSL Const|PRIM_POINT_LIGHT|integer|23}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|color}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|intensity}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|radius}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|falloff}}&nbsp;]
{{!!}} 四角
+
 
{{!}}-
 
{{!}}-
{{LSL ConstTB/ja|PRIM_HOLE_CIRCLE|integer|hex=0x10}}
+
{{!}} [[#PRIM_FULLBRIGHT|PRIM_FULLBRIGHT]]
{{!!}}
+
{{!}} 表面のフルブライトフラグを設定します。
{{LSL ConstTB/ja|PRIM_HOLE_TRIANGLE|integer|hex=0x30}}
+
{{!}} [&nbsp;{{#var:fullbright_const}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}&nbsp;]
{{!!}} 三角
+
 
{{!}}-
 
{{!}}-
{{LSL Constants/PrimitiveParams/sculpt types/ja}}
+
{{!}} [[#PRIM_FLEXIBLE|PRIM_FLEXIBLE]]
 +
{{!}} プリムをフレキシブルに設定します。
 +
{{!}} [&nbsp;{{LSL Const|PRIM_FLEXIBLE|integer|21}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|softness}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|flex_float/ja|float|gravity}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|flex_float/ja|float|friction}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|flex_float/ja|float|wind}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|flex_float/ja|float|tension}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|force}}&nbsp;]
 
{{!}}-
 
{{!}}-
{{!}} colspan="10" {{!}}
+
{{!}} [[#PRIM_TEXGEN|PRIM_TEXGEN]]
 +
{{!}} 表面のテクスチャモードを設定します。
 +
{{!}} [&nbsp;{{LSL Const|PRIM_TEXGEN|integer|22}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}, [[integer/ja|integer]]&nbsp;{{HoverText|type|PRIM_TEXGEN_* flag}}&nbsp;]
 
{{!}}-
 
{{!}}-
{{LSL ConstTB/ja|PRIM_MATERIAL|integer|2|b=[&nbsp;|e=&nbsp;]|s=rowspan="10"}}
+
{{!}} [[#PRIM_GLOW|PRIM_GLOW]]
{{!}} colspan="2" {{!}} [ [[integer/ja|integer]]&nbsp;{{HoverText|flag|PRIM_MATERIAL_* flag}}]
+
{{!}} 表面のグロー属性を設定します。
{{!}} colspan="6" {{!}} プリムの材質を{{GetSet|{{{1|}}}|取得|設定}}します。材質は標準の[[llCollisionSound/ja|衝突音]]と[[llCollisionSprite/ja|スプライト]]を決定します。
+
{{!}} [&nbsp;{{#var:glow_const}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|intensity}}&nbsp;]
 
{{!}}-
 
{{!}}-
! colspan="2" {{!}} {{HoverText|flag|PRIM_MATERIAL_* フラグ}}定数
+
{{!}} [[#PRIM_CAST_SHADOWS|PRIM_CAST_SHADOWS]]
! colspan="6" {{!}} フラグの説明
+
{{!}} プリムのキャストシャドウ属性を設定します('''廃止予定''')
 +
{{!}} [&nbsp;{{LSL Const|PRIM_CAST_SHADOWS|integer|24}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}&nbsp;]
 
{{!}}-
 
{{!}}-
{{LSL ConstTB/ja|PRIM_MATERIAL_STONE|integer|0|m=3|s3=colspan="6"|c=}}
+
{{!}} [[#PRIM_TYPE_LEGACY|PRIM_TYPE_LEGACY]]
 +
{{!}} プリムの形状を設定します。(レガシー項目, '''廃止予定''').
 +
{{!}} [&nbsp;1, [[integer/ja|integer]]&nbsp;{{HoverText|flag|PRIM_TYPE_* flag}}&nbsp;]&nbsp;+ {{HoverLink|#PRIM_TYPE_LEGACY_flag_parameters|Additional parameters required by the flag|flag_parameters}}
 +
{{!}}} }}
 +
{{{!}} {{Prettytable|style=margin: 0px 0px 10px 1pt;}} {{#switch:{{NAMESPACE}}|Template=|User=|{{LSLC/ja|Light}}}}
 +
{{!}}- {{Hl2}}
 +
! colspan="2" {{!}} パラメータ
 +
! colspan="2" {{!}} {{GetSet|{{{1|}}}|返り値|付与パラメータ}}
 +
! colspan="6" {{!}} 解説
 
{{!}}-
 
{{!}}-
{{LSL ConstTB/ja|PRIM_MATERIAL_METAL|integer|1|m=3|s3=colspan="6"|c=鉱石}}
+
{{LSL ConstTB/ja|PRIM_TYPE|integer|9|b=[&nbsp;|e=&nbsp;]|s=rowspan="21"|s1=id="PRIM_TYPE"}}
 +
{{!}} colspan="2" {{!}} [ [[integer/ja|integer]]&nbsp;{{HoverText|flag|PRIM_TYPE_* flag}} ]
 +
{{!}} colspan="6" {{!}} プリムの形状を{{GetSet|{{{1|}}}|取得|設定}}します。
 
{{!}}-
 
{{!}}-
{{LSL ConstTB/ja|PRIM_MATERIAL_GLASS|integer|2|m=3|s3=colspan="6"|c=ガラス}}
+
{{LSL Constants/PrimitiveParams/type/ja|{{{1|}}}}}
{{!}}-
+
{{!}}- style="background-color: rgba(0, 0, 0, 0.1);"  
{{LSL ConstTB/ja|PRIM_MATERIAL_WOOD|integer|3|m=3|s3=colspan="6"|c=木}}
+
{{!}} colspan="10" {{!}}
{{!}}-
+
{{LSL ConstTB/ja|PRIM_MATERIAL_FLESH|integer|4|m=3|s3=colspan="6"|c=皮}}
+
{{!}}-
+
{{LSL ConstTB/ja|PRIM_MATERIAL_PLASTIC|integer|5|m=3|s3=colspan="6"|c=プラスチック}}
+
 
{{!}}-
 
{{!}}-
{{LSL ConstTB/ja|PRIM_MATERIAL_RUBBER|integer|6|m=3|s3=colspan="6"|c=ゴム}}
+
{{LSL ConstTB/ja|PRIM_MATERIAL|integer|2|b=[&nbsp;|e=&nbsp;]|s=rowspan="10"|s1=id="PRIM_MATERIAL"}}
 +
{{!}} colspan="2" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|material}}]
 +
{{!}} colspan="6" {{!}} プリムの素材を{{GetSet|{{{1|}}}|取得|設定}}します。素材は標準[[llCollisionSound/ja|衝突音]]と[[llCollisionSprite/ja|スプライト]]を決定します。
 
{{!}}-
 
{{!}}-
{{LSL ConstTB/ja|PRIM_MATERIAL_LIGHT|integer|7|b=<s>|e=</s>|c='''廃止'''が明らかな事項:: [&nbsp;PRIM_FULLBRIGHT, ALL_SIDES, TRUE&nbsp;]を同等のものとみなします。}}
+
{{LSL Constants/PrimitiveParams/materials}}
{{!}} colspan="6" {{!}}'''廃止'''が明らかな事項: [&nbsp;[[PRIM_FULLBRIGHT/ja|PRIM_FULLBRIGHT]], [[ALL_SIDES/ja|ALL_SIDES]], [[TRUE/ja|TRUE]]&nbsp;]を同等のものとみなします。
+
 
{{!}}-
 
{{!}}-
{{LSL ConstTB/ja|PRIM_PHYSICS|integer|3|b=[&nbsp;|e=&nbsp;]}}
+
{{LSL ConstTB/ja|PRIM_PHYSICS|integer|3|b=[&nbsp;|e=&nbsp;]|s1=id="PRIM_PHYSICS"}}
 
{{!}} colspan="5" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}&nbsp;]
 
{{!}} colspan="5" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}&nbsp;]
{{!}} colspan="3" {{!}} 物理状態 、{{GetSet|{{{1|}}}|[[llGetStatus/ja|llGetStatus]]|[[llSetStatus/ja|llGetStatus]]}}
+
{{!}} colspan="3" {{!}} 物理状態を{{GetSet|{{{1|}}}|[[llGetStatus/ja|取得]]|[[llSetStatus/ja|設定]]}}します。
 
{{!}}-
 
{{!}}-
{{LSL ConstTB/ja|PRIM_TEMP_ON_REZ|integer|4|b=[&nbsp;|e=&nbsp;]}}
+
{{LSL ConstTB/ja|PRIM_TEMP_ON_REZ|integer|4|b=[&nbsp;|e=&nbsp;]|s1=id="PRIM_TEMP_ON_REZ"}}
 
{{!}} colspan="5" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}&nbsp;]
 
{{!}} colspan="5" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}&nbsp;]
{{!}} colspan="3" {{!}} 一時的なrez状態、{{GetSet|{{{1|}}}|[[llGetStatus/ja|llGetStatus]]|[[llSetStatus/ja|llGetStatus]]}}
+
{{!}} colspan="3" {{!}} {{LSLGC/ja|Temporary}} attribute
 
{{!}}-
 
{{!}}-
{{LSL ConstTB/ja|PRIM_PHANTOM|integer|5|b=[&nbsp;|e=&nbsp;]}}
+
{{LSL ConstTB/ja|PRIM_PHANTOM|integer|5|b=[&nbsp;|e=&nbsp;]|s1=id="PRIM_PHANTOM"}}
 
{{!}} colspan="5" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}&nbsp;]
 
{{!}} colspan="5" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}&nbsp;]
{{!}} colspan="3" {{!}} ファントム状態 、{{GetSet|{{{1|}}}|[[llGetStatus/ja|llGetStatus]]|[[llSetStatus/ja|llGetStatus]]}}
+
{{!}} colspan="3" {{!}} ファントム状態を{{GetSet|{{{1|}}}|[[llGetStatus/ja|取得]]|[[llSetStatus/ja|設定]]}}します。
 
{{!}}-
 
{{!}}-
{{LSL ConstTB/ja|PRIM_POSITION|integer|6|b=[&nbsp;|e=&nbsp;]}}
+
{{LSL ConstTB/ja|PRIM_POSITION|integer|6|b=[&nbsp;|e=&nbsp;]|s1=id="PRIM_POSITION"}}
{{!}} colspan="5" {{!}} [ [[vector/ja|vector]]&nbsp;{{LSL Param/ja|position}}&nbsp;]
+
{{!}} colspan="5" {{!}} [ [[vector/ja|vector]]&nbsp;{{LSL Param/ja|position{{{1|}}}|position}}&nbsp;]
{{!}} colspan="3" {{!}} 位置、 {{GetSet|{{{1|}}}|[[llGetPos/ja|llGetPos]]|[[llSetPos/ja|llSetPos]]}}
+
{{!}} colspan="3" {{!}} 位置を{{GetSet|{{{1|}}}|[[llGetPos/ja|取得]]|[[llSetPos/ja|設定]]}}します。
 
{{!}}-
 
{{!}}-
{{LSL ConstTB/ja|PRIM_ROTATION|integer|8|b=[&nbsp;|e=&nbsp;]}}
+
{{LSL ConstTB/ja|PRIM_ROTATION|integer|8|b=[&nbsp;|e=&nbsp;]|s1=id="PRIM_ROTATION"}}
 
{{!}} colspan="5" {{!}} [ [[rotation/ja|rotation]]&nbsp;{{LSL Param/ja|rot}}&nbsp;]
 
{{!}} colspan="5" {{!}} [ [[rotation/ja|rotation]]&nbsp;{{LSL Param/ja|rot}}&nbsp;]
{{!}} colspan="3" {{!}} 回転、 {{GetSet|{{{1|}}}|[[llGetRot/ja|llGetRot]]|[[llSetRot/ja|llSetRot]]}}
+
{{!}} colspan="3" {{!}} 回転を{{GetSet|{{{1|}}}|[[llGetRot/ja|取得]]|[[llSetRot/ja|設定]]}}します。
 
{{!}}-
 
{{!}}-
{{LSL ConstTB/ja|PRIM_SIZE|integer|7|b=[&nbsp;|e=&nbsp;]}}
+
{{LSL ConstTB/ja|PRIM_SIZE|integer|7|b=[&nbsp;|e=&nbsp;]|s1=id="PRIM_SIZE"}}します。
 
{{!}} colspan="5" {{!}} [ [[vector/ja|vector]]&nbsp;{{LSL Param/ja|size}}&nbsp;]
 
{{!}} colspan="5" {{!}} [ [[vector/ja|vector]]&nbsp;{{LSL Param/ja|size}}&nbsp;]
{{!}} colspan="3" {{!}} 大きさ、 {{GetSet|{{{1|}}}|[[llGetScale/ja|llGetScale]]|[[llSetScale/ja|llSetScale]]}}
+
{{!}} colspan="3" {{!}} 大きさを{{GetSet|{{{1|}}}|[[llGetScale/ja|取得]]|[[llSetScale/ja|設定]]}}します。
 
{{!}}-
 
{{!}}-
{{LSL ConstTB/ja|PRIM_TEXTURE|integer|17|b=[&nbsp;|e=, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}&nbsp;]}}
+
{{LSL ConstTB/ja|PRIM_TEXTURE|integer|17|b=[&nbsp;|e=, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}&nbsp;]|s1=id="PRIM_TEXTURE"}}
 
{{!}} colspan="5" {{!}} [ [[string/ja|string]]&nbsp;{{LSL Param/ja|texture}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|repeats}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|offsets}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|rotation_in_radians}}&nbsp;]
 
{{!}} colspan="5" {{!}} [ [[string/ja|string]]&nbsp;{{LSL Param/ja|texture}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|repeats}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|offsets}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|rotation_in_radians}}&nbsp;]
 
{{!}} colspan="3" {{!}}
 
{{!}} colspan="3" {{!}}
 
{{{!}} style="background-color:#F9F9F9;"
 
{{{!}} style="background-color:#F9F9F9;"
{{!}}{{!}}{{LSLGC/ja||Texture}}: {{!}}{{!}} {{#ifeq:{{{1|get}}}|get|[[llGetTexture/ja|llGetTexture]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llSetTexture/ja|llSetTexture]]}}
+
{{!}}{{!}}{{LSLGC/ja|Texture|テクスチャ}}: {{!}}{{!}} {{#ifeq:{{{1|get}}}|取得|[[llGetTexture/ja|llGetTexture]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|設定|[[llSetTexture/ja|llSetTexture]]}}
 
{{!}}-
 
{{!}}-
{{!!}}Repeats: {{!}}{{!}} {{#ifeq:{{{1|get}}}|get|[[llGetTextureScale/ja|llGetTextureScale]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llScaleTexture/ja|llScaleTexture]]}}
+
{{!!}}繰り返し: {{!}}{{!}} {{#ifeq:{{{1|get}}}|取得|[[llGetTextureScale/ja|llGetTextureScale]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|設定|[[llScaleTexture/ja|llScaleTexture]]}}
 
{{!}}-
 
{{!}}-
{{!!}}Offset: {{!}}{{!}} {{#ifeq:{{{1|get}}}|get|[[llGetTextureOffset/ja|llGetTextureOffse]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llOffsetTexture/ja|llOffsetTexture]]}}
+
{{!!}}オフセット: {{!}}{{!}} {{#ifeq:{{{1|get}}}|取得|[[llGetTextureOffset/ja|llGetTextureOffset]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|設定|[[llOffsetTexture/ja|llOffsetTexture]]}}
 
{{!}}-
 
{{!}}-
{{!!}}Rotation: {{!}}{{!}} {{#ifeq:{{{1|get}}}|get|[[llGetTextureRot/ja|llGetTextureRot]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llRotateTexture/ja|llRotateTexture]]}}
+
{{!!}}回転: {{!}}{{!}} {{#ifeq:{{{1|get}}}|取得|[[llGetTextureRot/ja|llGetTextureRot]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|設定|[[llRotateTexture/ja|llRotateTexture]]}}
 
{{!}}}
 
{{!}}}
 
{{!}}-
 
{{!}}-
{{LSL ConstTB/ja|PRIM_COLOR|integer|18|b=[&nbsp;|e=, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}&nbsp;]}}
+
{{LSL ConstTB/ja|PRIM_COLOR|integer|18|b=[&nbsp;|e=, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}&nbsp;]|s1=id="PRIM_COLOR"}}
 
{{!}} colspan="5" {{!}} [ [[vector/ja|vector]]&nbsp;{{LSL Param/ja|color}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|alpha}}&nbsp;]
 
{{!}} colspan="5" {{!}} [ [[vector/ja|vector]]&nbsp;{{LSL Param/ja|color}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|alpha}}&nbsp;]
 
{{!}} colspan="3" {{!}}  
 
{{!}} colspan="3" {{!}}  
 
{{{!}} style="background-color:#F9F9F9;"
 
{{{!}} style="background-color:#F9F9F9;"
{{!!}}{{LSLGC/ja|Alpha}}: {{!}}{{!}} {{#ifeq:{{{1|get}}}|get|[[llGetAlpha/ja|llGetAlpha]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llSetColor/ja|llSetColor]]}}
+
{{!!}}{{LSLGC/ja|Alpha|透過}}: {{!}}{{!}} {{#ifeq:{{{1|get}}}|get|[[llGetAlpha/ja|llGetAlpha]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llSetAlpha/ja|llSetAlpha]]}}
 
{{!}}-
 
{{!}}-
{{!!}}{{LSLGC/ja|Color}}: {{!}}{{!}} {{#ifeq:{{{1|get}}}|get|[[llGetAlpha/ja|llGetAlpha]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llSetColor/ja|llSetColor]]}}
+
{{!!}}{{LSLGC/ja|Color|色}}: {{!}}{{!}} {{#ifeq:{{{1|get}}}|取得|[[llGetColor/ja|llGetColor]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|設定|[[llSetColor/ja|llSetColor]]}}
 
{{!}}}
 
{{!}}}
 
{{!}}-
 
{{!}}-
{{LSL ConstTB/ja|PRIM_BUMP_SHINY|integer|19|b=[&nbsp;|e=, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}&nbsp;]|s=rowspan="25"}}
+
{{LSL ConstTB/ja|PRIM_BUMP_SHINY|integer|19|b=[&nbsp;|e=, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}&nbsp;]|s=rowspan="25"|s1=id="PRIM_BUMP_SHINY"}}
{{!}} colspan="5" {{!}} [ [[integer/ja|integer]]&nbsp;{{HoverText|shiny|PRIM_SHINY_* flag}}, [[integer/ja|integer]]&nbsp;{{HoverText|bump|PRIM_BUMP_* flag}}&nbsp;]
+
{{!}} colspan="5" {{!}} [&nbsp;[[integer/ja|integer]]&nbsp;{{LSL Param/ja|shiny}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|bump}}&nbsp;]
 
{{!}} colspan="3" {{!}}
 
{{!}} colspan="3" {{!}}
 
{{!}}-
 
{{!}}-
! colspan="2" {{!}} {{HoverText|shiny|PRIM_SHINY_*フラグ}}と{{HoverText|bump|PRIM_BUMP_*フラグ}}の定数
+
{{LSL_Constants/PrimitiveParams/bumpshiny/ja}}
! colspan="6" {{!}} 説明
+
 
{{!}}-
 
{{!}}-
{{LSL ConstTB/ja|PRIM_SHINY_NONE|integer|0|m=3|s3=colspan="6"|c=なし}}
+
{{LSL ConstTB/ja|PRIM_FULLBRIGHT|integer|20|b=[&nbsp;|e=, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}&nbsp;]|s1=id="PRIM_FULLBRIGHT"}}
{{!}}-
+
{{LSL ConstTB/ja|PRIM_SHINY_LOW|integer|1|m=3|s3=colspan="6"|c=少し光る}}
+
{{!}}-
+
{{LSL ConstTB/ja|PRIM_SHINY_MEDIUM|integer|2|m=3|s3=colspan="6"|c=中くらいに光る}}
+
{{!}}-
+
{{LSL ConstTB/ja|PRIM_SHINY_HIGH|integer|3|m=3|s3=colspan="6"|c=最高に光る}}
+
{{!}}-
+
{{!!}}
+
{{!!}}
+
{{!}} colspan="6" {{!}}
+
{{!}}-
+
{{LSL ConstTB/ja|PRIM_BUMP_NONE|integer|0|m=3|s3=colspan="6"|c=なし: no bump map}}
+
{{!}}-
+
{{LSL ConstTB/ja|PRIM_BUMP_BRIGHT|integer|1|m=3|s3=colspan="6"|c=brightness: generate from highlights}}
+
{{!}}-
+
{{LSL ConstTB/ja|PRIM_BUMP_DARK|integer|2|m=3|s3=colspan="6"|c=darkness: generate from lowlights}}
+
{{!}}-
+
{{LSL ConstTB/ja|PRIM_BUMP_WOOD|integer|3|m=3|s3=colspan="6"|c=woodgrain}}
+
{{!}}-
+
{{LSL ConstTB/ja|PRIM_BUMP_BARK|integer|4|m=3|s3=colspan="6"|c=bark}}
+
{{!}}-
+
{{LSL ConstTB/ja|PRIM_BUMP_BRICKS|integer|5|m=3|s3=colspan="6"|c=bricks}}
+
{{!}}-
+
{{LSL ConstTB/ja|PRIM_BUMP_CHECKER|integer|6|m=3|s3=colspan="6"|c=checker}}
+
{{!}}-
+
{{LSL ConstTB/ja|PRIM_BUMP_CONCRETE|integer|7|m=3|s3=colspan="6"|c=concrete}}
+
{{!}}-
+
{{LSL ConstTB/ja|PRIM_BUMP_TILE|integer|8|m=3|s3=colspan="6"|c=crustytile}}
+
{{!}}-
+
{{LSL ConstTB/ja|PRIM_BUMP_STONE|integer|9|m=3|s3=colspan="6"|c=cutstone: blocks}}
+
{{!}}-
+
{{LSL ConstTB/ja|PRIM_BUMP_DISKS|integer|10|m=3|s3=colspan="6"|c=discs: packed circles}}
+
{{!}}-
+
{{LSL ConstTB/ja|PRIM_BUMP_GRAVEL|integer|11|m=3|s3=colspan="6"|c=gravel}}
+
{{!}}-
+
{{LSL ConstTB/ja|PRIM_BUMP_BLOBS|integer|12|m=3|s3=colspan="6"|c=petridish: blobby amoeba like shapes}}
+
{{!}}-
+
{{LSL ConstTB/ja|PRIM_BUMP_SIDING|integer|13|m=3|s3=colspan="6"|c=siding}}
+
{{!}}-
+
{{LSL ConstTB/ja|PRIM_BUMP_LARGETILE|integer|14|m=3|s3=colspan="6"|c=stonetile}}
+
{{!}}-
+
{{LSL ConstTB/ja|PRIM_BUMP_STUCCO|integer|15|m=3|s3=colspan="6"|c=stucco}}
+
{{!}}-
+
{{LSL ConstTB/ja|PRIM_BUMP_SUCTION|integer|16|m=3|s3=colspan="6"|c=suction: rings}}
+
{{!}}-
+
{{LSL ConstTB/ja|PRIM_BUMP_WEAVE|integer|17|m=3|s3=colspan="6"|c=weave}}
+
{{!}}-
+
{{LSL ConstTB/ja|PRIM_FULLBRIGHT|integer|20|b=[&nbsp;|e=, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}&nbsp;]}}
+
 
{{!}} colspan="5" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}&nbsp;]
 
{{!}} colspan="5" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}&nbsp;]
 
{{!}} colspan="3" {{!}}  
 
{{!}} colspan="3" {{!}}  
 
{{!}}-
 
{{!}}-
{{LSL ConstTB/ja|PRIM_FLEXIBLE|integer|21|b=[&nbsp;|e=&nbsp;]}}
+
{{LSL ConstTB/ja|PRIM_FLEXIBLE|integer|21|b=[&nbsp;|e=&nbsp;]|s1=id="PRIM_FLEXIBLE"}}
{{!}} colspan="5" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}, [[integer/ja|integer]]&nbsp;{{HoverText|softness|ranges from 0 to 4}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|flex_float|gravity}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|flex_float|friction}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|flex_float|wind}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|flex_float|tension}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|force}}&nbsp;]
+
{{!}} colspan="5" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|softness}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|flex_float/ja|float|gravity}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|flex_float/ja|float|friction}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|flex_float/ja|float|wind}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|flex_float/ja|float|tension}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|force}}&nbsp;]
 
{{!}} colspan="3" {{!}}  
 
{{!}} colspan="3" {{!}}  
 
{{!}}-
 
{{!}}-
{{LSL ConstTB/ja|PRIM_CAST_SHADOWS|integer|24|b=[&nbsp;|e=&nbsp;]}}
+
{{LSL ConstTB/ja|PRIM_TEXGEN|integer|22|b=[&nbsp;|e=, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}&nbsp;]|s=rowspan="4"|s1=id="PRIM_TEXGEN"}}
{{!}} colspan="5" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}&nbsp;]
+
{{!}} colspan="5" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|tg_type|mode}}&nbsp;]
{{!}} colspan="3" {{!}} プリミティブに影を割り付ける
+
{{!}}-
+
{{LSL ConstTB/ja|PRIM_TEXGEN|integer|22|b=[&nbsp;|e=, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}&nbsp;]|s=rowspan="4"}}
+
{{!}} colspan="5" {{!}} [ [[integer/ja|integer]]&nbsp;{{HoverText|type|PRIM_TEXGEN_* flag}}&nbsp;]
+
 
{{!}} colspan="3" {{!}}  
 
{{!}} colspan="3" {{!}}  
 
{{!}}-
 
{{!}}-
! colspan="2" {{!}} {{HoverText|type|PRIM_TEXGEN_*フラグ}}定数
+
{{LSL Constants/PrimitiveParams/texgen/ja}}
! colspan="6" {{!}} 説明
+
 
{{!}}-
 
{{!}}-
{{LSL ConstTB/ja|PRIM_TEXGEN_DEFAULT|integer|0|m=3|s3=colspan="6"|c=}}
+
{{LSL ConstTB/ja|PRIM_POINT_LIGHT|integer|23|b=[&nbsp;|e=&nbsp;]|s1=id="PRIM_POINT_LIGHT"}}
 +
{{!}} colspan="5" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|color}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|intensity}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|radius}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|falloff}}&nbsp;]
 +
{{!}} colspan="3" {{!}}  
 
{{!}}-
 
{{!}}-
{{LSL ConstTB/ja|PRIM_TEXGEN_PLANAR|integer|1|m=3|s3=colspan="6"|c=}}
+
{{LSL ConstTB/ja|PRIM_GLOW|integer|25|b=[&nbsp;|e=, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}&nbsp;]|s1=id="PRIM_GLOW"}}
 +
{{!}} colspan="5" {{!}} [ [[float/ja|float]]&nbsp;{{LSL Param/ja|intensity}}&nbsp;]
 +
{{!}} colspan="3" {{!}}  
 
{{!}}-
 
{{!}}-
{{LSL ConstTB/ja|PRIM_POINT_LIGHT|integer|23|b=[&nbsp;|e=&nbsp;]}}
+
{{LSL ConstTB/ja|PRIM_CAST_SHADOWS|integer|24|b=[&nbsp;<s>|e=</s>&nbsp;]|s1=id="PRIM_CAST_SHADOWS"}}
{{!}} colspan="5" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|color}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|intensity}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|radius}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|falloff}}&nbsp;]
+
{{!}} colspan="2" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}&nbsp;]
{{!}} colspan="3" {{!}}  
+
{{!}} colspan="6" {{!}} '''廃止予定''': プリミティブに影を割り付ける
 
{{!}}-
 
{{!}}-
 
{{#ifeq:{{{1|set}}}|set|
 
{{#ifeq:{{{1|set}}}|set|
{{!}} rowspan="8" {{!}} [ 1 ]<br/><s>{{LSL Const/ja|PRIM_TYPE_LEGACY|integer|1|nolink=*}}</s>
+
{{!}} rowspan="8" id="PRIM_TYPE_LEGACY"{{!}} [ 1 ]<br/><s>{{LSL Const|PRIM_TYPE_LEGACY|integer|1|nolink=*}}</s>
 
{{!}} rowspan="8" {{!}} {{#var:value}}
 
{{!}} rowspan="8" {{!}} {{#var:value}}
{{!}} colspan="8" {{!}} [ [[integer/ja|integer]]&nbsp;{{HoverText|flag|PRIM_TYPE_* フラグ}}、 パラメータ ]
+
{{!}} colspan="8" {{!}} [ [[integer/ja|integer]]&nbsp;{{HoverText|flag|PRIM_TYPE_* flag}}, paramaters ]
 
{{!}}-
 
{{!}}-
! colspan="2" {{!}} {{HoverText|flag|PRIM_TYPE_*フラグ}}定数
+
! colspan="2" {{!}} {{HoverText|flag|PRIM_TYPE_* flag}} 定数
! colspan="6" {{!}} フラグパラメータ
+
! colspan="6" id="PRIM_TYPE_LEGACY_flag_parameters"{{!}} フラグパラメータ
 
{{!}}-
 
{{!}}-
 
{{LSL ConstTB/ja|PRIM_TYPE_BOX|integer|0}}
 
{{LSL ConstTB/ja|PRIM_TYPE_BOX|integer|0}}
Line 289: Line 245:
 
<noinclude>
 
<noinclude>
 
<div id="box">
 
<div id="box">
==警告==
+
== 警告 ==
 
<div style="padding: 0.5em;">
 
<div style="padding: 0.5em;">
 
{{#var:caveats}}
 
{{#var:caveats}}
 
</div></div>
 
</div></div>
 
</noinclude>
 
</noinclude>

Revision as of 22:00, 26 September 2009

フラグ 説明 使い方
PRIM_TYPE プリムの形状を設定します。 PRIM_TYPE, integer flag ] + フラグパラメータ
PRIM_MATERIAL プリムの素材を設定します。 PRIM_MATERIAL, integer flag ]
PRIM_PHYSICS プリムの物理状態を設定します。 PRIM_PHYSICS, integer boolean ]
PRIM_TEMP_ON_REZ テンポラリ属性を設定します。 PRIM_TEMP_ON_REZ, integer boolean ]
PRIM_PHANTOM オブジェクトのファントム状態を設定します。 PRIM_PHANTOM, integer boolean ]
PRIM_POSITION プリムの位置を設定します。 PRIM_POSITION, vector position ]
PRIM_ROTATION プリムの回転を設定します。 PRIM_ROTATION, rotation rot ]
PRIM_SIZE プリムの大きさを設定します。 PRIM_SIZE, vector size ]
PRIM_TEXTURE プリムのテキスチャ属性を設定します。 PRIM_TEXTURE, integer face, string texture, vector repeats, vector offsets, float rotation_in_radians ]
PRIM_COLOR 表面の色を設定します。 PRIM_COLOR, integer face, vector color, float alpha ]
PRIM_BUMP_SHINY 表面の輝きと隆起を設定します。 PRIM_BUMP_SHINY, integer face, integer shiny, integer bump ]
PRIM_POINT_LIGHT プリムの光源を設定します。 PRIM_POINT_LIGHT, integer boolean, vector color, float intensity, float radius, float falloff ]
PRIM_FULLBRIGHT 表面のフルブライトフラグを設定します。 PRIM_FULLBRIGHT, integer face, integer boolean ]
PRIM_FLEXIBLE プリムをフレキシブルに設定します。 PRIM_FLEXIBLE, integer boolean, integer softness, float float, float float, float float, float float, vector force ]
PRIM_TEXGEN 表面のテクスチャモードを設定します。 PRIM_TEXGEN, integer face, integer type ]
PRIM_GLOW 表面のグロー属性を設定します。 PRIM_GLOW, integer face, float intensity ]
PRIM_CAST_SHADOWS プリムのキャストシャドウ属性を設定します(廃止予定) PRIM_CAST_SHADOWS, integer boolean ]
PRIM_TYPE_LEGACY プリムの形状を設定します。(レガシー項目, 廃止予定). [ 1, integer flag ] + flag_parameters
パラメータ 返り値 / 付与パラメータ 解説
PRIM_TYPE ] 9 [ integer flag ] プリムの形状を取得 / 設定します。
フラグ定数 追加の戻り値 / フラグパラメータ
PRIM_TYPE_BOX 0 [ integer hole_shape, vector cut, float hollow, vector twist, vector top_size, vector top_shear ]
PRIM_TYPE_CYLINDER 1 [ integer hole_shape, vector cut, float hollow, vector twist, vector top_size, vector top_shear ]
PRIM_TYPE_PRISM 2 [ integer hole_shape, vector cut, float hollow, vector twist, vector top_size, vector top_shear ]
PRIM_TYPE_SPHERE 3 [ integer hole_shape, vector cut, float hollow, vector twist, vector dimple]
PRIM_TYPE_TORUS 4 [ integer hole_shape, vector cut, float hollow, vector twist, vector hole_size, vector top_shear, vector advanced_cut, vector taper, float revolutions, float radius_offset, float skew ]
PRIM_TYPE_TUBE 5 [ integer hole_shape, vector cut, float hollow, vector twist, vector hole_size, vector top_shear, vector advanced_cut, vector taper, float revolutions, float radius_offset, float skew ]
PRIM_TYPE_RING 6 [ integer hole_shape, vector cut, float hollow, vector twist, vector hole_size, vector top_shear, vector advanced_cut, vector taper, float revolutions, float radius_offset, float skew ]
PRIM_TYPE_SCULPT 7 [ string mapinteger type ] Sculpted_Prims:_FAQ
  hole_shape フラグ 形状 hole_shape フラグ 形状
PRIM_HOLE_DEFAULT 0x00 デフォルト PRIM_HOLE_SQUARE 0x20 正方形
PRIM_HOLE_CIRCLE 0x10 サークル PRIM_HOLE_TRIANGLE 0x30 三角形
type フラグ 形状 説明
PRIM_SCULPT_TYPE_SPHERE 1 球形 上端と下端で収束し、左端が右端に縫合される
PRIM_SCULPT_TYPE_TORUS 2 トーラス 上端が下端に縫合され、左端が右端に縫合される
PRIM_SCULPT_TYPE_PLANE 3 平面 収束や縫合は行われない
PRIM_SCULPT_TYPE_CYLINDER 4 シリンダー 左端が右端に縫合される
PRIM_SCULPT_FLAG_ZZZZZZZZ 63
PRIM_SCULPT_FLAG_INVERT 64 裏返し 裏返しに表示 (法線を逆転させる)
PRIM_SCULPT_FLAG_MIRROR 128 ミラー スカルプトされたプリムを X 軸上で反転する
PRIM_MATERIAL ] 2 [ integer material] プリムの素材を取得 / 設定します。素材は標準衝突音スプライトを決定します。
material Flags Description Friction Restitution
PRIM_MATERIAL_STONE 0 stone 0.8 0.4
PRIM_MATERIAL_METAL 1 metal 0.3 0.4
PRIM_MATERIAL_GLASS 2 glass 0.2 0.7
PRIM_MATERIAL_WOOD 3 wood 0.6 0.5
PRIM_MATERIAL_FLESH 4 flesh 0.9 0.3
PRIM_MATERIAL_PLASTIC 5 plastic 0.4 0.7
PRIM_MATERIAL_RUBBER 6 rubber 0.9 0.9
PRIM_MATERIAL_LIGHT 7 light, DEPRECATED: Looks the same as [ PRIM_FULLBRIGHT, ALL_SIDES, TRUE ] 0.6 0.5
PRIM_PHYSICS ] 3 [ integer boolean ] 物理状態を取得 / 設定します。
PRIM_TEMP_ON_REZ ] 4 [ integer boolean ] 臨時 attribute
PRIM_PHANTOM ] 5 [ integer boolean ] ファントム状態を取得 / 設定します。
PRIM_POSITION ] 6 [ vector position ] 位置を取得 / 設定します。
PRIM_ROTATION ] 8 [ rotation rot ] 回転を取得 / 設定します。
PRIM_SIZE ] 7

します。

[ vector size ] 大きさを取得 / 設定します。
PRIM_TEXTURE, integer face ] 17 [ string texture, vector repeats, vector offsets, float rotation_in_radians ]
テクスチャ:
繰り返し:
オフセット:
回転:
PRIM_COLOR, integer face ] 18 [ vector color, float alpha ]
透過: llGetAlpha llSetAlpha
:
PRIM_BUMP_SHINY, integer face ] 19 integer shiny, integer bump ]
shinybump のフラグ 説明
PRIM_SHINY_NONE 0 なし
PRIM_SHINY_LOW 1
PRIM_SHINY_MEDIUM 2
PRIM_SHINY_HIGH 3
PRIM_BUMP_NONE 0 なし: 凹凸なし
PRIM_BUMP_BRIGHT 1 明るさ:明るい光で生成されるもの
PRIM_BUMP_DARK 2 暗さ:暗い光で生成されるもの
PRIM_BUMP_WOOD 3 木目調
PRIM_BUMP_BARK 4 木の皮
PRIM_BUMP_BRICKS 5 レンガ
PRIM_BUMP_CHECKER 6 チェッカー
PRIM_BUMP_CONCRETE 7 コンクリート
PRIM_BUMP_TILE 8 クラスティ・タイル
PRIM_BUMP_STONE 9 カットストーン:ブロック
PRIM_BUMP_DISKS 10 ディスク:束ねた輪っか
PRIM_BUMP_GRAVEL 11 砂利
PRIM_BUMP_BLOBS 12 ペトリ: 簡単なアメーバのような形状
PRIM_BUMP_SIDING 13 羽目板
PRIM_BUMP_LARGETILE 14 ストーン・タイル
PRIM_BUMP_STUCCO 15 しっくい
PRIM_BUMP_SUCTION 16 吸い込み:リング
PRIM_BUMP_WEAVE 17 織目
PRIM_FULLBRIGHT, integer face ] 20 [ integer boolean ]
PRIM_FLEXIBLE ] 21 [ integer boolean, integer softness, float float, float float, float float, float float, vector force ]
PRIM_TEXGEN, integer face ] 22 [ integer mode ]
モード定数 説明
PRIM_TEXGEN_DEFAULT 0
PRIM_TEXGEN_PLANAR 1
PRIM_POINT_LIGHT ] 23 [ integer boolean, vector color, float intensity, float radius, float falloff ]
PRIM_GLOW, integer face ] 25 [ float intensity ]
PRIM_CAST_SHADOWS ] 24 [ integer boolean ] 廃止予定: プリミティブに影を割り付ける
[ 1 ]
PRIM_TYPE_LEGACY
1 [ integer flag, paramaters ]
flag 定数 フラグパラメータ
PRIM_TYPE_BOX 0 [ vector cut, float hollow, float twist_end, vector top_size, vector top_shear ]
PRIM_TYPE_CYLINDER 1 [ vector cut, float hollow, float twist_end, vector top_size, vector top_shear ]
PRIM_TYPE_PRISM 2 [ vector cut, float hollow, float twist_end, vector top_size, vector top_shear ]
PRIM_TYPE_SPHERE 3 [ vector cut, float hollow, vector dimple ]
PRIM_TYPE_TORUS 4 [ vector cut, float hollow, float twist_end, float hole_size_y, vector top_shear, vector advanced_cut ]
PRIM_TYPE_TUBE 5 [ vector cut, float hollow, float twist_end, float topshear_x ]

警告

  • If texture is missing from the prim's inventory and it is not a UUID or it is not a texture then an error is shouted on DEBUG_CHANNEL.
  • If texture is a UUID then there are no new asset permissions consequences for the object.
    • The resulting object develops no new usage restrictions that might have occurred if the asset had been placed in the prims inventory.
  • repeats is not only used to set the number of repeats but the sign of the individual components is also used to set the "Flip" attribute.
  • In the default texture mapping mode the texture repeats units are in texture repeats per face. In the planar texture mapping mode the texture repeats units are in texture repeats per half meter. This is in contrast to the in-world editing tool, in which the planar texture scaling units are repeats per meter.
  • top_size and client values are different, the ranges do not line up, conversion is required. This simple equation can be used: answer = 1.0 - value. See top_size Explained for more information.
  • PRIM_PHANTOM, PRIM_PHYSICSPRIM_TEMP_ON_REZ は内部オブジェクト(リンクセット)に適用されます。
  • 値は草案で、切り捨て或いは制限された範囲になるでしょう。いくつかの制限は本来の形式にてクライアントによって適用され、その他の値はSIMが値を蓄積しようと試みたときにシミュレータによって適用されます。
  • faceALL_SIDES であれば flag は全ての面に作用します。
  • face が存在しない面を指している場合、 flag はエラーを出さずに復帰します。