Difference between revisions of "Template:LSL Constants/PrimitiveParams"
Jump to navigation
Jump to search
m |
Mako Nozaki (talk | contribs) |
||
Line 1: | Line 1: | ||
<noinclude>{{multi-lang}}</noinclude>{{#if: | <noinclude>{{multi-lang}}</noinclude>{{#if: | ||
{{:PRIM_COLOR|{{{1|}}}}} | {{:PRIM_COLOR/ja|{{{1|}}}}} | ||
{{:PRIM_GLOW|{{{1|}}}}} | {{:PRIM_GLOW/ja|{{{1|}}}}} | ||
{{:PRIM_TEXTURE|{{{1|}}}}} | {{:PRIM_TEXTURE/ja|{{{1|}}}}} | ||
{{:PRIM_TEXT|{{{1|}}}}} | {{:PRIM_TEXT/ja|{{{1|}}}}} | ||
{{:PRIM_FULLBRIGHT|{{{1|}}}}} | {{:PRIM_FULLBRIGHT/ja|{{{1|}}}}} | ||
{{:PRIM_TEXGEN|{{{1|}}}}} | {{:PRIM_TEXGEN/ja|{{{1|}}}}} | ||
{{:PRIM_BUMP_SHINY|{{{1|}}}}} | {{:PRIM_BUMP_SHINY/ja|{{{1|}}}}} | ||
{{:PRIM_MATERIAL|{{{1|}}}}} | {{:PRIM_MATERIAL/ja|{{{1|}}}}} | ||
{{:PRIM_TYPE|{{{1|}}}}} | {{:PRIM_TYPE/ja|{{{1|}}}}} | ||
{{:PRIM_TYPE_BOX|{{{1|}}}}} | {{:PRIM_TYPE_BOX/ja|{{{1|}}}}} | ||
{{:PRIM_TYPE_SCULPT|{{{1|}}}}} | {{:PRIM_TYPE_SCULPT/ja|{{{1|}}}}} | ||
{{:PRIM_PHANTOM|{{{1|}}}}} | {{:PRIM_PHANTOM/ja|{{{1|}}}}} | ||
{{:PRIM_TEMP_ON_REZ|{{{1|}}}}} | {{:PRIM_TEMP_ON_REZ/ja|{{{1|}}}}} | ||
{{:PRIM_PHYSICS|{{{1|}}}}} | {{:PRIM_PHYSICS/ja|{{{1|}}}}} | ||
{{:PRIM_SIZE|{{{1|}}}}} | {{:PRIM_SIZE/ja|{{{1|}}}}} | ||
{{:PRIM_POSITION|{{{1|}}}}} | {{:PRIM_POSITION/ja|{{{1|}}}}} | ||
{{:PRIM_ROTATION|{{{1|}}}}} | {{:PRIM_ROTATION/ja|{{{1|}}}}} | ||
{{:PRIM_FLEXIBLE|{{{1|}}}}} | {{:PRIM_FLEXIBLE/ja|{{{1|}}}}} | ||
{{:PRIM_POINT_LIGHT|{{{1|}}}}} | {{:PRIM_POINT_LIGHT/ja|{{{1|}}}}} | ||
{{#ifeq:{{{1|set}}}|set | {{#vardefine:caveats|{{#ifeq:{{{1|set}}}|set|{{#var:caveats}} | ||
* [[PRIM_PHANTOM]], [[PRIM_PHYSICS]] | * [[PRIM_PHANTOM/ja|PRIM_PHANTOM]], [[PRIM_PHYSICS/ja|PRIM_PHYSICS]] と [[PRIM_TEMP_ON_REZ/ja|PRIM_TEMP_ON_REZ]] は内部オブジェクト(リンクセット)に適用されます。 | ||
* | * 値は草案で、切り捨て或いは制限された範囲になるでしょう。いくつかの制限は本来の形式にてクライアントによって適用され、その他の値はSIMが値を蓄積しようと試みたときにシミュレータによって適用されます。 | ||
** | ** [[vector/ja|vector]]と[[rotation/ja|rotation]]をテストする時には、不明瞭なテストを実行するために(丁重に)[[llVecDist/ja|llVecDist]]と[[llAngleBetween/ja|llAngleBetween]] を用います。|{{#var:caveats}}}}}} | ||
{{LSL_Function/color|color}} | {{LSL_Function/color/ja|color}} | ||
{{LSL_Function/alpha|alpha}} | {{LSL_Function/alpha/ja|alpha}} | ||
{{LSL_Function/boolean|boolean}} | {{LSL_Function/boolean/ja|boolean}} | ||
{{LSL_Function/face|face|flag|!footer=*|return={{#ifeq:{{{1|get}}}|get|... | {{LSL_Function/face/ja|face|flag|!footer=*|return={{#ifeq:{{{1|get}}}|get|... | ||
:{{{!}}{{Prettytable}} | :{{{!}}{{Prettytable}} | ||
{{!}}-{{Hl2}} | {{!}}-{{Hl2}} | ||
!{{HoverText|flag|PRIM_* flag}} | !{{HoverText/ja|flag|PRIM_* flag}} | ||
! | !表面が無効の場合に返します。 | ||
{{!}}- | {{!}}- | ||
{{#var:facetable}} | {{#var:facetable}} | ||
Line 39: | Line 39: | ||
}}}} | }}}} | ||
}}{{#ifeq:{{{1|<noinclude> | }}{{#ifeq:{{{1|<noinclude>設定</noinclude>}}}|set| | ||
{{{!}} class="sortable" {{Prettytable|style=margin: 0px 0px 10px 1pt;}} | {{{!}} class="sortable" {{Prettytable|style=margin: 0px 0px 10px 1pt;}} | ||
{{!}}- {{Hl2}} | {{!}}- {{Hl2}} | ||
! class="sortable" {{!}} | ! class="sortable" {{!}}フラグ | ||
! class="sortable" {{!}} | ! class="sortable" {{!}}説明 | ||
! class="unsortable" {{!}} | ! class="unsortable" {{!}}使い方 | ||
{{!}}- | {{!}}- | ||
{{!}} [[#PRIM_TYPE|PRIM_TYPE]] | {{!}} [[#PRIM_TYPE|PRIM_TYPE]] | ||
{{!}} | {{!}} プリムの形状を設定します。 | ||
{{!}} [ {{LSL Const|PRIM_TYPE|integer|9}}, [[integer]] {{HoverText|flag|PRIM_TYPE_* flag}} ] + {{HoverLink|#PRIM_TYPE_flag_parameters| | {{!}} [ {{LSL Const/ja|PRIM_TYPE|integer|9}}, [[integer/ja|integer]] {{HoverText|flag|PRIM_TYPE_* flag}} ] + {{HoverLink|#PRIM_TYPE_flag_parameters|フラグによって要求される付与パラメータ|フラグパラメータ}} | ||
{{!}}- | {{!}}- | ||
{{!}} [[#PRIM_MATERIAL|PRIM_MATERIAL]] | {{!}} [[#PRIM_MATERIAL|PRIM_MATERIAL]] | ||
{{!}} | {{!}} プリムの素材を設定します。 | ||
{{!}} [ {{LSL Const|PRIM_MATERIAL|integer|2}}, [[integer]] {{HoverText|flag|PRIM_MATERIAL_* flag}} ] | {{!}} [ {{LSL Const/ja|PRIM_MATERIAL|integer|2}}, [[integer/ja|integer]] {{HoverText|flag|PRIM_MATERIAL_* flag}} ] | ||
{{!}}- | {{!}}- | ||
{{!}} [[#PRIM_PHYSICS|PRIM_PHYSICS]] | {{!}} [[#PRIM_PHYSICS|PRIM_PHYSICS]] | ||
{{!}} | {{!}} プリムの物理状態を設定します。 | ||
{{!}} [ {{LSL Const|PRIM_PHYSICS|integer|3}}, [[integer]] {{LSL Param|boolean}} ] | {{!}} [ {{LSL Const/ja|PRIM_PHYSICS|integer|3}}, [[integer/ja|integer]] {{LSL Param/ja|boolean}} ] | ||
{{!}}- | {{!}}- | ||
{{!}} [[#PRIM_TEMP_ON_REZ|PRIM_TEMP_ON_REZ]] | {{!}} [[#PRIM_TEMP_ON_REZ|PRIM_TEMP_ON_REZ]] | ||
{{!}} | {{!}} {{LSLGC/ja|Temporary|テンポラリ}}属性を設定します。 | ||
{{!}} [ {{LSL Const|PRIM_TEMP_ON_REZ|integer|4}}, [[integer]] {{LSL Param|boolean}} ] | {{!}} [ {{LSL Const/ja|PRIM_TEMP_ON_REZ|integer|4}}, [[integer/ja|integer]] {{LSL Param/ja|boolean}} ] | ||
{{!}}- | {{!}}- | ||
{{!}} [[#PRIM_PHANTOM|PRIM_PHANTOM]] | {{!}} [[#PRIM_PHANTOM|PRIM_PHANTOM]] | ||
{{!}} | {{!}} オブジェクトのファントム状態を設定します。 | ||
{{!}} [ {{LSL Const|PRIM_PHANTOM|integer|5}}, [[integer]] {{LSL Param|boolean}} ] | {{!}} [ {{LSL Const/ja|PRIM_PHANTOM|integer|5}}, [[integer/ja|integer]] {{LSL Param/ja|boolean}} ] | ||
{{!}}- | {{!}}- | ||
{{!}} [[#PRIM_POSITION|PRIM_POSITION]] | {{!}} [[#PRIM_POSITION|PRIM_POSITION]] | ||
{{!}} | {{!}} プリムの位置を設定します。 | ||
{{!}} [ {{LSL Const|PRIM_POSITION|integer|6}}, [[vector]] {{LSL Param|position{{{1|}}}|position}} ] | {{!}} [ {{LSL Const/ja|PRIM_POSITION|integer|6}}, [[vector/ja|vector]] {{LSL Param/ja|position{{{1|}}}|position}} ] | ||
{{!}}- | {{!}}- | ||
{{!}} [[#PRIM_ROTATION|PRIM_ROTATION]] | {{!}} [[#PRIM_ROTATION|PRIM_ROTATION]] | ||
{{!}} | {{!}} プリムの回転を設定します。 | ||
{{!}} [ {{LSL Const|PRIM_ROTATION|integer|8}}, [[rotation]] {{LSL Param|rot}} ] | {{!}} [ {{LSL Const/ja|PRIM_ROTATION|integer|8}}, [[rotation]] {{LSL Param/ja|rot}} ] | ||
{{!}}- | {{!}}- | ||
{{!}} [[#PRIM_SIZE|PRIM_SIZE]] | {{!}} [[#PRIM_SIZE|PRIM_SIZE]] | ||
{{!}} | {{!}} プリムの大きさを設定します。 | ||
{{!}} [ {{LSL Const|PRIM_SIZE|integer|7}}, [[vector]] {{LSL Param|size}} ] | {{!}} [ {{LSL Const/ja|PRIM_SIZE|integer|7}}, [[vector/ja|vector]] {{LSL Param/ja|size}} ] | ||
{{!}}- | {{!}}- | ||
{{!}} [[#PRIM_TEXTURE|PRIM_TEXTURE]] | {{!}} [[#PRIM_TEXTURE|PRIM_TEXTURE]] | ||
{{!}} | {{!}} プリムのテキスチャ属性を設定します。 | ||
{{!}} [ {{#var:texture_const}}, [[integer]] {{LSL Param|face}}, [[string]] {{LSL Param|texture}}, [[vector]] {{LSL Param|repeats}}, [[vector]] {{LSL Param|offsets}}, [[float]] {{LSL Param|rotation_in_radians}} ] | {{!}} [ {{#var:texture_const}}, [[integer/ja|integer]] {{LSL Param/ja|face}}, [[string/ja|string]] {{LSL Param/ja|texture}}, [[vector/ja|vector]] {{LSL Param/ja|repeats}}, [[vector/ja|vector]] {{LSL Param/ja|offsets}}, [[float/ja|float]] {{LSL Param/ja|rotation_in_radians}} ] | ||
{{!}}- | {{!}}- | ||
{{!}} [[#PRIM_TEXT|PRIM_TEXT]] | {{!}} [[#PRIM_TEXT|PRIM_TEXT]] | ||
{{!}} | {{!}} プリムのフローティングテキストを設定します。 | ||
{{!}} [ {{#var:text_const}}, [[string]] {{LSL Param|text}}, [[vector]] {{LSL Param|color}}, [[float]] {{LSL Param|alpha}} ] | {{!}} [ {{#var:text_const}}, [[string/ja|string]] {{LSL Param|text}}, [[vector/ja|vector]] {{LSL Param|color}}, [[float/ja|float]] {{LSL Param|alpha}} ] | ||
{{!}}- | {{!}}- | ||
{{!}} [[#PRIM_COLOR|PRIM_COLOR]] | {{!}} [[#PRIM_COLOR|PRIM_COLOR]] | ||
{{!}} | {{!}} 表面の色を設定します。 | ||
{{!}} [ {{#var:color_const}}, [[integer]] {{LSL Param|face}}, [[vector]] {{LSL Param|color}}, [[float]] {{LSL Param|alpha}} ] | {{!}} [ {{#var:color_const}}, [[integer/ja|integer]] {{LSL Param/ja|face}}, [[vector/ja|vector]] {{LSL Param/ja|color}}, [[float/ja|float]] {{LSL Param/ja|alpha}} ] | ||
{{!}}- | {{!}}- | ||
{{!}} [[#PRIM_BUMP_SHINY|PRIM_BUMP_SHINY]] | {{!}} [[#PRIM_BUMP_SHINY|PRIM_BUMP_SHINY]] | ||
{{!}} | {{!}} 表面の輝きと隆起を設定します。 | ||
{{!}} [ {{LSL Const|PRIM_BUMP_SHINY|integer|19}}, [[integer]] {{LSL Param|face}}, [[integer]] {{LSL Param|shiny}}, [[integer]] {{LSL Param|bump}} ] | {{!}} [ {{LSL Const/ja|PRIM_BUMP_SHINY|integer|19}}, [[integer/ja|integer]] {{LSL Param/ja|face}}, [[integer/ja|integer]] {{LSL Param/ja|shiny}}, [[integer/ja|integer]] {{LSL Param/ja|bump}} ] | ||
{{!}}- | {{!}}- | ||
{{!}} [[#PRIM_POINT_LIGHT|PRIM_POINT_LIGHT]] | {{!}} [[#PRIM_POINT_LIGHT|PRIM_POINT_LIGHT]] | ||
{{!}} | {{!}} プリムの光源を設定します。 | ||
{{!}} [ {{LSL Const|PRIM_POINT_LIGHT|integer|23}}, [[integer]] {{LSL Param|boolean}}, [[vector]] {{LSL Param|color}}, [[float]] {{LSL Param|intensity}}, [[float]] {{LSL Param|radius}}, [[float]] {{LSL Param|falloff}} ] | {{!}} [ {{LSL Const/ja|PRIM_POINT_LIGHT|integer|23}}, [[integer/ja|integer]] {{LSL Param/ja|boolean}}, [[vector/ja|vector]] {{LSL Param/ja|color}}, [[float/ja|float]] {{LSL Param/ja|intensity}}, [[float/ja|float]] {{LSL Param/ja|radius}}, [[float/ja|float]] {{LSL Param/ja|falloff}} ] | ||
{{!}}- | {{!}}- | ||
{{!}} [[#PRIM_FULLBRIGHT|PRIM_FULLBRIGHT]] | {{!}} [[#PRIM_FULLBRIGHT|PRIM_FULLBRIGHT]] | ||
{{!}} | {{!}} 表面のフルブライトフラグを設定します。 | ||
{{!}} [ {{#var:fullbright_const}}, [[integer]] {{LSL Param|face}}, [[integer]] {{LSL Param|boolean}} ] | {{!}} [ {{#var:fullbright_const}}, [[integer/ja|integer]] {{LSL Param/ja|face}}, [[integer/ja|integer]] {{LSL Param/ja|boolean}} ] | ||
{{!}}- | {{!}}- | ||
{{!}} [[#PRIM_FLEXIBLE|PRIM_FLEXIBLE]] | {{!}} [[#PRIM_FLEXIBLE|PRIM_FLEXIBLE]] | ||
{{!}} | {{!}} プリムをフレキシブルに設定します。 | ||
{{!}} [ {{LSL Const|PRIM_FLEXIBLE|integer|21}}, [[integer]] {{LSL Param|boolean}}, [[integer]] {{LSL Param|softness}}, [[float]] {{LSL Param|flex_float|gravity}}, [[float]] {{LSL Param|flex_float|friction}}, [[float]] {{LSL Param|flex_float|wind}}, [[float]] {{LSL Param|flex_float|tension}}, [[vector]] {{LSL Param|force}} ] | {{!}} [ {{LSL Const/ja|PRIM_FLEXIBLE|integer|21}}, [[integer/ja|integer]] {{LSL Param/ja|boolean}}, [[integer/ja|integer]] {{LSL Param/ja|softness}}, [[float/ja|float]] {{LSL Param/ja|flex_float/ja|float|gravity}}, [[float/ja|float]] {{LSL Param/ja|flex_float/ja|float|friction}}, [[float/ja|float]] {{LSL Param/ja|flex_float/ja|float|wind}}, [[float/ja|float]] {{LSL Param/ja|flex_float/ja|float|tension}}, [[vector/ja|vector]] {{LSL Param/ja|force}} ] | ||
{{!}}- | {{!}}- | ||
{{!}} [[#PRIM_TEXGEN|PRIM_TEXGEN]] | {{!}} [[#PRIM_TEXGEN|PRIM_TEXGEN]] | ||
{{!}} | {{!}} 表面のテクスチャモードを設定します。 | ||
{{!}} [ {{LSL Const|PRIM_TEXGEN|integer|22}}, [[integer]] {{LSL Param|face}}, [[integer]] {{HoverText|type|PRIM_TEXGEN_* flag}} ] | {{!}} [ {{LSL Const/ja|PRIM_TEXGEN|integer|22}}, [[integer/ja|integer]] {{LSL Param/ja|face}}, [[integer/ja|integer]] {{HoverText|type|PRIM_TEXGEN_* flag}} ] | ||
{{!}}- | {{!}}- | ||
{{!}} [[#PRIM_GLOW|PRIM_GLOW]] | {{!}} [[#PRIM_GLOW|PRIM_GLOW]] | ||
{{!}} | {{!}} 表面のグロー属性を設定します。 | ||
{{!}} [ {{#var:glow_const}}, [[integer]] {{LSL Param|face}}, [[float]] {{LSL Param|intensity}} ] | {{!}} [ {{#var:glow_const}}, [[integer/ja|integer]] {{LSL Param/ja|face}}, [[float/ja|float]] {{LSL Param/ja|intensity}} ] | ||
{{!}}- | {{!}}- | ||
{{!}} [[#PRIM_CAST_SHADOWS|PRIM_CAST_SHADOWS]] | {{!}} [[#PRIM_CAST_SHADOWS|PRIM_CAST_SHADOWS]] | ||
{{!}} | {{!}} プリムのキャストシャドウ属性を設定します('''廃止予定''') | ||
{{!}} [ {{LSL Const|PRIM_CAST_SHADOWS|integer|24}}, [[integer]] {{LSL Param|boolean}} ] | {{!}} [ {{LSL Const/ja|PRIM_CAST_SHADOWS|integer|24}}, [[integer/ja|integer]] {{LSL Param/ja|boolean}} ] | ||
{{!}}- | {{!}}- | ||
{{!}} [[#PRIM_TYPE_LEGACY|PRIM_TYPE_LEGACY]] | {{!}} [[#PRIM_TYPE_LEGACY|PRIM_TYPE_LEGACY]] | ||
{{!}} | {{!}} プリムの形状を設定します。(レガシー項目, '''廃止予定'''). | ||
{{!}} [ 1, [[integer]] {{HoverText|flag|PRIM_TYPE_* flag}} ] + {{HoverLink|#PRIM_TYPE_LEGACY_flag_parameters|Additional parameters required by the flag|flag_parameters}} | {{!}} [ 1, [[integer/ja|integer]] {{HoverText|flag|PRIM_TYPE_* flag}} ] + {{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|Light}}}} | {{{!}} {{Prettytable|style=margin: 0px 0px 10px 1pt;}} {{#switch:{{NAMESPACE}}|Template=|User=|{{LSLC/ja|Light}}}} | ||
{{!}}- {{Hl2}} | {{!}}- {{Hl2}} | ||
! colspan="2" {{!}} | ! colspan="2" {{!}} パラメータ | ||
! colspan="2" {{!}} {{GetSet|{{{1|}}}| | ! colspan="2" {{!}} {{GetSet|{{{1|}}}|返り値|付与パラメータ}} | ||
! colspan="6" {{!}} | ! colspan="6" {{!}} 解説 | ||
{{!}}- | {{!}}- | ||
{{LSL ConstTB|PRIM_TYPE|integer|9|b=[ |e= ]|s=rowspan="21"|s1=id="PRIM_TYPE"}} | {{LSL ConstTB/ja|PRIM_TYPE|integer|9|b=[ |e= ]|s=rowspan="21"|s1=id="PRIM_TYPE"}} | ||
{{!}} colspan="2" {{!}} [ [[integer]] {{HoverText|flag|PRIM_TYPE_* flag}} ] | {{!}} colspan="2" {{!}} [ [[integer/ja|integer]] {{HoverText|flag|PRIM_TYPE_* flag}} ] | ||
{{!}} colspan="6" {{!}} {{GetSet|{{{1|}}}| | {{!}} colspan="6" {{!}} プリムの形状を{{GetSet|{{{1|}}}|取得|設定}}します。 | ||
{{!}}- | {{!}}- | ||
{{LSL Constants/PrimitiveParams/type|{{{1|}}}}} | {{LSL Constants/PrimitiveParams/type/ja|{{{1|}}}}} | ||
{{!}}- style="background-color: rgba(0, 0, 0, 0.1);" | {{!}}- style="background-color: rgba(0, 0, 0, 0.1);" | ||
{{!}} colspan="10" {{!}} | {{!}} colspan="10" {{!}} | ||
{{!}}- | {{!}}- | ||
{{LSL ConstTB|PRIM_MATERIAL|integer|2|b=[ |e= ]|s=rowspan="10"|s1=id="PRIM_MATERIAL"}} | {{LSL ConstTB/ja|PRIM_MATERIAL|integer|2|b=[ |e= ]|s=rowspan="10"|s1=id="PRIM_MATERIAL"}} | ||
{{!}} colspan="2" {{!}} [ [[integer]] {{LSL Param|material}}] | {{!}} colspan="2" {{!}} [ [[integer/ja|integer]] {{LSL Param/ja|material}}] | ||
{{!}} colspan="6" {{!}} {{GetSet|{{{1|}}}| | {{!}} colspan="6" {{!}} プリムの素材を{{GetSet|{{{1|}}}|取得|設定}}します。素材は標準[[llCollisionSound/ja|衝突音]]と[[llCollisionSprite/ja|スプライト]]を決定します。 | ||
{{!}}- | {{!}}- | ||
{{LSL Constants/PrimitiveParams/materials}} | {{LSL Constants/PrimitiveParams/materials/ja}} | ||
{{!}}- | {{!}}- | ||
{{LSL ConstTB|PRIM_PHYSICS|integer|3|b=[ |e= ]|s1=id="PRIM_PHYSICS"}} | {{LSL ConstTB/ja|PRIM_PHYSICS|integer|3|b=[ |e= ]|s1=id="PRIM_PHYSICS"}} | ||
{{!}} colspan="5" {{!}} [ [[integer]] {{LSL Param|boolean}} ] | {{!}} colspan="5" {{!}} [ [[integer/ja|integer]] {{LSL Param/ja|boolean}} ] | ||
{{!}} colspan="3" {{!}} | {{!}} colspan="3" {{!}} 物理状態を{{GetSet|{{{1|}}}|[[llGetStatus/ja|取得]]|[[llSetStatus/ja|設定]]}}します。 | ||
{{!}}- | {{!}}- | ||
{{LSL ConstTB|PRIM_TEMP_ON_REZ|integer|4|b=[ |e= ]|s1=id="PRIM_TEMP_ON_REZ"}} | {{LSL ConstTB/ja|PRIM_TEMP_ON_REZ|integer|4|b=[ |e= ]|s1=id="PRIM_TEMP_ON_REZ"}} | ||
{{!}} colspan="5" {{!}} [ [[integer]] {{LSL Param|boolean}} ] | {{!}} colspan="5" {{!}} [ [[integer/ja|integer]] {{LSL Param/ja|boolean}} ] | ||
{{!}} colspan="3" {{!}} {{LSLGC|Temporary}} | {{!}} colspan="3" {{!}} {{LSLGC/ja|Temporary|テンポラリ}}属性 | ||
{{!}}- | {{!}}- | ||
{{LSL ConstTB|PRIM_PHANTOM|integer|5|b=[ |e= ]|s1=id="PRIM_PHANTOM"}} | {{LSL ConstTB/ja|PRIM_PHANTOM|integer|5|b=[ |e= ]|s1=id="PRIM_PHANTOM"}} | ||
{{!}} colspan="5" {{!}} [ [[integer]] {{LSL Param|boolean}} ] | {{!}} colspan="5" {{!}} [ [[integer/ja|integer]] {{LSL Param/ja|boolean}} ] | ||
{{!}} colspan="3" {{!}} | {{!}} colspan="3" {{!}} ファントム状態を{{GetSet|{{{1|}}}|[[llGetStatus/ja|取得]]|[[llSetStatus/ja|設定]]}}します。 | ||
{{!}}- | {{!}}- | ||
{{LSL ConstTB|PRIM_POSITION|integer|6|b=[ |e= ]|s1=id="PRIM_POSITION"}} | {{LSL ConstTB/ja|PRIM_POSITION|integer|6|b=[ |e= ]|s1=id="PRIM_POSITION"}} | ||
{{!}} colspan="5" {{!}} [ [[vector]] {{LSL Param|position{{{1|}}}|position}} ] | {{!}} colspan="5" {{!}} [ [[vector/ja|vector]] {{LSL Param/ja|position{{{1|}}}|position}} ] | ||
{{!}} colspan="3" {{!}} | {{!}} colspan="3" {{!}} 位置を{{GetSet|{{{1|}}}|[[llGetPos/ja|取得]]|[[llSetPos/ja|設定]]}}します。 | ||
{{!}}- | {{!}}- | ||
{{LSL ConstTB|PRIM_ROTATION|integer|8|b=[ |e= ]|s1=id="PRIM_ROTATION"}} | {{LSL ConstTB/ja|PRIM_ROTATION|integer|8|b=[ |e= ]|s1=id="PRIM_ROTATION"}} | ||
{{!}} colspan="5" {{!}} [ [[rotation]] {{LSL Param|rot}} ] | {{!}} colspan="5" {{!}} [ [[rotation/ja|rotation]] {{LSL Param/ja|rot}} ] | ||
{{!}} colspan="3" {{!}} | {{!}} colspan="3" {{!}} 回転を{{GetSet|{{{1|}}}|[[llGetRot/ja|取得]]|[[llSetRot/ja|設定]]}}します。 | ||
{{!}}- | {{!}}- | ||
{{LSL ConstTB|PRIM_SIZE|integer|7|b=[ |e= ]|s1=id="PRIM_SIZE"}} | {{LSL ConstTB/ja|PRIM_SIZE|integer|7|b=[ |e= ]|s1=id="PRIM_SIZE"}}します。 | ||
{{!}} colspan="5" {{!}} [ [[vector]] {{LSL Param|size}} ] | {{!}} colspan="5" {{!}} [ [[vector/ja|vector]] {{LSL Param/ja|size}} ] | ||
{{!}} colspan="3" {{!}} | {{!}} colspan="3" {{!}} 大きさを{{GetSet|{{{1|}}}|[[llGetScale/ja|取得]]|[[llSetScale/ja|設定]]}}します。 | ||
{{!}}- | {{!}}- | ||
{{LSL ConstTB|PRIM_TEXTURE|integer|17|b=[ |e=, [[integer]] {{LSL Param|face}} ]|s1=id="PRIM_TEXTURE"}} | {{LSL ConstTB/ja|PRIM_TEXTURE|integer|17|b=[ |e=, [[integer/ja|integer]] {{LSL Param/ja|face}} ]|s1=id="PRIM_TEXTURE"}} | ||
{{!}} colspan="5" {{!}} [ [[string]] {{LSL Param|texture}}, [[vector]] {{LSL Param|repeats}}, [[vector]] {{LSL Param|offsets}}, [[float]] {{LSL Param|rotation_in_radians}} ] | {{!}} colspan="5" {{!}} [ [[string/ja|string]] {{LSL Param/ja|texture}}, [[vector/ja|vector]] {{LSL Param/ja|repeats}}, [[vector/ja|vector]] {{LSL Param/ja|offsets}}, [[float/ja|float]] {{LSL Param/ja|rotation_in_radians}} ] | ||
{{!}} colspan="3" {{!}} | {{!}} colspan="3" {{!}} | ||
{{{!}} style="background-color:#F9F9F9;" | {{{!}} style="background-color:#F9F9F9;" | ||
{{!}}{{!}}{{LSLGC|Texture}}: {{!}}{{!}} {{#ifeq:{{{1|get}}}|get|[[llGetTexture]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llSetTexture]]}} | {{!}}{{!}}{{LSLGC/ja|Texture|テクスチャ}}: {{!}}{{!}} {{#ifeq:{{{1|get}}}|get|[[llGetTexture/ja|llGetTexture]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llSetTexture/ja|llSetTexture]]}} | ||
{{!}}- | {{!}}- | ||
{{!!}} | {{!!}}繰り返し: {{!}}{{!}} {{#ifeq:{{{1|get}}}|get|[[llGetTextureScale/ja|llGetTextureScale]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llScaleTexture/ja|llScaleTexture]]}} | ||
{{!}}- | {{!}}- | ||
{{!!}} | {{!!}}オフセット: {{!}}{{!}} {{#ifeq:{{{1|get}}}|get|[[llGetTextureOffset/ja|llGetTextureOffset]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llOffsetTexture/ja|llOffsetTexture]]}} | ||
{{!}}- | {{!}}- | ||
{{!!}} | {{!!}}回転: {{!}}{{!}} {{#ifeq:{{{1|get}}}|get|[[llGetTextureRot/ja|llGetTextureRot]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llRotateTexture/ja|llRotateTexture]]}} | ||
{{!}}} | {{!}}} | ||
{{!}}- | {{!}}- | ||
{{LSL ConstTB|PRIM_TEXT|integer|26|b=[ |e= ]|s1=id="PRIM_TEXT"}} | {{LSL ConstTB/ja|PRIM_TEXT|integer|26|b=[ |e= ]|s1=id="PRIM_TEXT"}} | ||
{{!}} colspan="5" {{!}} [ [[string]] {{LSL Param|text}}, [[vector]] {{LSL Param|color}}, [[float]] {{LSL Param|alpha}} ] | {{!}} colspan="5" {{!}} [ [[string]] {{LSL Param|text}}, [[vector]] {{LSL Param|color}}, [[float]] {{LSL Param|alpha}} ] | ||
{{!}} colspan="3" {{!}} | {{!}} colspan="3" {{!}} | ||
{{{!}} style="background-color:#F9F9F9;" | {{{!}} style="background-color:#F9F9F9;" | ||
{{!}}{{!}}{{LSLGC|Text}}: {{!}}{{!}} | {{!}}{{!}}{{LSLGC/ja|Text}}: {{!}}{{!}} LSLC/ja|get|[[llSetText]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llSetText]]}} | ||
{{!}}} | {{!}}} | ||
{{!}}- | {{!}}- | ||
{{LSL ConstTB|PRIM_COLOR|integer|18|b=[ |e=, [[integer]] {{LSL Param|face}} ]|s1=id="PRIM_COLOR"}} | {{LSL ConstTB/ja|PRIM_COLOR|integer|18|b=[ |e=, [[integer]] {{LSL Param|face}} ]|s1=id="PRIM_COLOR"}} | ||
{{!}} colspan="5" {{!}} [ [[vector]] {{LSL Param|color}}, [[float]] {{LSL Param|alpha}} ] | {{!}} colspan="5" {{!}} [ [[vector]] {{LSL Param|color}}, [[float]] {{LSL Param|alpha}} ] | ||
{{!}} colspan="3" {{!}} | {{!}} colspan="3" {{!}} | ||
{{{!}} style="background-color:#F9F9F9;" | {{{!}} style="background-color:#F9F9F9;" | ||
{{!!}}{{LSLGC|Alpha}}: {{!}}{{!}} {{#ifeq:{{{1|get}}}|get|[[llGetAlpha]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llSetAlpha]]}} | {{!!}}{{LSLGC/ja|Alpha|透過}}: {{!}}{{!}} {{#ifeq:{{{1|get}}}|get|[[llGetAlpha/ja|llGetAlpha]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llSetAlpha/ja|llSetAlpha]]}} | ||
{{!}}- | {{!}}- | ||
{{!!}}{{LSLGC|Color}}: {{!}}{{!}} {{#ifeq:{{{1|get}}}|get|[[llGetColor]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llSetColor]]}} | {{!!}}{{LSLGC/ja|Color|色}}: {{!}}{{!}} {{#ifeq:{{{1|get}}}|get|[[llGetColor/ja|llGetColor]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llSetColor/ja|llSetColor]]}} | ||
{{!}}} | {{!}}} | ||
{{!}}- | {{!}}- | ||
{{LSL ConstTB|PRIM_BUMP_SHINY|integer|19|b=[ |e=, [[integer]] {{LSL Param|face}} ]|s=rowspan="25"|s1=id="PRIM_BUMP_SHINY"}} | {{LSL ConstTB/ja|PRIM_BUMP_SHINY|integer|19|b=[ |e=, [[integer/ja|integer]] {{LSL Param/ja|face}} ]|s=rowspan="25"|s1=id="PRIM_BUMP_SHINY"}} | ||
{{!}} colspan="5" {{!}} [ [[integer]] {{LSL Param|shiny}}, [[integer]] {{LSL Param|bump}} ] | {{!}} colspan="5" {{!}} [ [[integer/ja|integer]] {{LSL Param/ja|shiny}}, [[integer/ja|integer]] {{LSL Param/ja|bump}} ] | ||
{{!}} colspan="3" {{!}} | {{!}} colspan="3" {{!}} | ||
{{!}}- | {{!}}- | ||
{{LSL_Constants/PrimitiveParams/bumpshiny}} | {{LSL_Constants/PrimitiveParams/bumpshiny/ja}} | ||
{{!}}- | {{!}}- | ||
{{LSL ConstTB|PRIM_FULLBRIGHT|integer|20|b=[ |e=, [[integer]] {{LSL Param|face}} ]|s1=id="PRIM_FULLBRIGHT"}} | {{LSL ConstTB/ja|PRIM_FULLBRIGHT|integer|20|b=[ |e=, [[integer/ja|integer]] {{LSL Param/ja|face}} ]|s1=id="PRIM_FULLBRIGHT"}} | ||
{{!}} colspan="5" {{!}} [ [[integer]] {{LSL Param|boolean}} ] | {{!}} colspan="5" {{!}} [ [[integer/ja|integer]] {{LSL Param/ja|boolean}} ] | ||
{{!}} colspan="3" {{!}} | {{!}} colspan="3" {{!}} | ||
{{!}}- | {{!}}- | ||
{{LSL ConstTB|PRIM_FLEXIBLE|integer|21|b=[ |e= ]|s1=id="PRIM_FLEXIBLE"}} | {{LSL ConstTB/ja|PRIM_FLEXIBLE|integer|21|b=[ |e= ]|s1=id="PRIM_FLEXIBLE"}} | ||
{{!}} colspan="5" {{!}} [ [[integer]] {{LSL Param|boolean}}, [[integer]] {{LSL Param|softness}}, [[float]] {{LSL Param|flex_float|gravity}}, [[float]] {{LSL Param|flex_float|friction}}, [[float]] {{LSL Param|flex_float|wind}}, [[float]] {{LSL Param|flex_float|tension}}, [[vector]] {{LSL Param|force}} ] | {{!}} colspan="5" {{!}} [ [[integer/ja|integer]] {{LSL Param/ja|boolean}}, [[integer/ja|integer]] {{LSL Param/ja|softness}}, [[float/ja|float]] {{LSL Param/ja|flex_float/ja|float|gravity}}, [[float/ja|float]] {{LSL Param/ja|flex_float/ja|float|friction}}, [[float/ja|float]] {{LSL Param/ja|flex_float/ja|float|wind}}, [[float/ja|float]] {{LSL Param/ja|flex_float/ja|float|tension}}, [[vector/ja|vector]] {{LSL Param/ja|force}} ] | ||
{{!}} colspan="3" {{!}} | {{!}} colspan="3" {{!}} | ||
{{!}}- | {{!}}- | ||
{{LSL ConstTB|PRIM_TEXGEN|integer|22|b=[ |e=, [[integer]] {{LSL Param|face}} ]|s=rowspan="4"|s1=id="PRIM_TEXGEN"}} | {{LSL ConstTB/ja|PRIM_TEXGEN|integer|22|b=[ |e=, [[integer/ja|integer]] {{LSL Param/ja|face}} ]|s=rowspan="4"|s1=id="PRIM_TEXGEN"}} | ||
{{!}} colspan="5" {{!}} [ [[integer]] {{LSL Param|tg_type|mode}} ] | {{!}} colspan="5" {{!}} [ [[integer/ja|integer]] {{LSL Param/ja|tg_type|mode}} ] | ||
{{!}} colspan="3" {{!}} | {{!}} colspan="3" {{!}} | ||
{{!}}- | {{!}}- | ||
{{LSL Constants/PrimitiveParams/texgen}} | {{LSL Constants/PrimitiveParams/texgen/ja}} | ||
{{!}}- | {{!}}- | ||
{{LSL ConstTB|PRIM_POINT_LIGHT|integer|23|b=[ |e= ]|s1=id="PRIM_POINT_LIGHT"}} | {{LSL ConstTB/ja|PRIM_POINT_LIGHT|integer|23|b=[ |e= ]|s1=id="PRIM_POINT_LIGHT"}} | ||
{{!}} colspan="5" {{!}} [ [[integer]] {{LSL Param|boolean}}, [[vector]] {{LSL Param|color}}, [[float]] {{LSL Param|intensity}}, [[float]] {{LSL Param|radius}}, [[float]] {{LSL Param|falloff}} ] | {{!}} colspan="5" {{!}} [ [[integer/ja|integer]] {{LSL Param/ja|boolean}}, [[vector/ja|vector]] {{LSL Param/ja|color}}, [[float/ja|float]] {{LSL Param/ja|intensity}}, [[float/ja|float]] {{LSL Param/ja|radius}}, [[float/ja|float]] {{LSL Param/ja|falloff}} ] | ||
{{!}} colspan="3" {{!}} | {{!}} colspan="3" {{!}} | ||
{{!}}- | {{!}}- | ||
{{LSL ConstTB|PRIM_GLOW|integer|25|b=[ |e=, [[integer]] {{LSL Param|face}} ]|s1=id="PRIM_GLOW"}} | {{LSL ConstTB/ja|PRIM_GLOW|integer|25|b=[ |e=, [[integer/ja|integer]] {{LSL Param/ja|face}} ]|s1=id="PRIM_GLOW"}} | ||
{{!}} colspan="5" {{!}} [ [[float]] {{LSL Param|intensity}} ] | {{!}} colspan="5" {{!}} [ [[float/ja|float]] {{LSL Param/ja|intensity}} ] | ||
{{!}} colspan="3" {{!}} | {{!}} colspan="3" {{!}} | ||
{{!}}- | {{!}}- | ||
{{LSL ConstTB|PRIM_CAST_SHADOWS|integer|24|b=[ <s>|e=</s> ]|s1=id="PRIM_CAST_SHADOWS"}} | {{LSL ConstTB/ja|PRIM_CAST_SHADOWS|integer|24|b=[ <s>|e=</s> ]|s1=id="PRIM_CAST_SHADOWS"}} | ||
{{!}} colspan="2" {{!}} [ [[integer]] {{LSL Param|boolean}} ] | {{!}} colspan="2" {{!}} [ [[integer/ja|integer]] {{LSL Param/ja|boolean}} ] | ||
{{!}} colspan="6" {{!}} ''' | {{!}} colspan="6" {{!}} '''廃止予定''': プリミティブに影を割り付ける | ||
{{!}}- | {{!}}- | ||
{{#ifeq:{{{1|set}}}|set| | {{#ifeq:{{{1|set}}}|set| | ||
{{!}} rowspan="8" id="PRIM_TYPE_LEGACY"{{!}} [ 1 ]<br/><s>{{LSL Const|PRIM_TYPE_LEGACY|integer|1|nolink=*}}</s> | {{!}} rowspan="8" id="PRIM_TYPE_LEGACY"{{!}} [ 1 ]<br/><s>{{LSL Const/ja|PRIM_TYPE_LEGACY|integer|1|nolink=*}}</s> | ||
{{!}} rowspan="8" {{!}} {{#var:value}} | {{!}} rowspan="8" {{!}} {{#var:value}} | ||
{{!}} colspan="8" {{!}} [ [[integer]] {{HoverText|flag|PRIM_TYPE_* flag}}, paramaters ] | {{!}} colspan="8" {{!}} [ [[integer/ja|integer]] {{HoverText|flag|PRIM_TYPE_* flag}}, paramaters ] | ||
{{!}}- | {{!}}- | ||
! colspan="2" {{!}} {{HoverText|flag|PRIM_TYPE_* flag}} | ! colspan="2" {{!}} {{HoverText|flag|PRIM_TYPE_* flag}} 定数 | ||
! colspan="6" id="PRIM_TYPE_LEGACY_flag_parameters"{{!}} | ! colspan="6" id="PRIM_TYPE_LEGACY_flag_parameters"{{!}} フラグパラメータ | ||
{{!}}- | {{!}}- | ||
{{LSL ConstTB|PRIM_TYPE_BOX|integer|0}} | {{LSL ConstTB/ja|PRIM_TYPE_BOX|integer|0}} | ||
{{!}} colspan="6" {{!}} [ [[vector]] {{LSL Param|cut}}, [[float]] {{LSL Param|hollow}}, [[float]] {{LSL Param|twist_end}}, [[vector]] {{LSL Param|top_size}}, [[vector]] {{LSL Param|top_shear}} ] | {{!}} colspan="6" {{!}} [ [[vector/ja|vector]] {{LSL Param/ja|cut}}, [[float/ja|float]] {{LSL Param/ja|hollow}}, [[float/ja|float]] {{LSL Param/ja|twist_end}}, [[vector/ja|vector]] {{LSL Param/ja|top_size}}, [[vector/ja|vector]] {{LSL Param/ja|top_shear}} ] | ||
{{!}}- | {{!}}- | ||
{{LSL ConstTB|PRIM_TYPE_CYLINDER|integer|1}} | {{LSL ConstTB/ja|PRIM_TYPE_CYLINDER|integer|1}} | ||
{{!}} colspan="6" {{!}} [ [[vector]] {{LSL Param|cut}}, [[float]] {{LSL Param|hollow}}, [[float]] {{LSL Param|twist_end}}, [[vector]] {{LSL Param|top_size}}, [[vector]] {{LSL Param|top_shear}} ] | {{!}} colspan="6" {{!}} [ [[vector/ja|vector]] {{LSL Param/ja|cut}}, [[float/ja|float]] {{LSL Param/ja|hollow}}, [[float/ja|float]] {{LSL Param/ja|twist_end}}, [[vector/ja|vector]] {{LSL Param/ja|top_size}}, [[vector/ja|vector]] {{LSL Param/ja|top_shear}} ] | ||
{{!}}- | {{!}}- | ||
{{LSL ConstTB|PRIM_TYPE_PRISM|integer|2}} | {{LSL ConstTB/ja|PRIM_TYPE_PRISM|integer|2}} | ||
{{!}} colspan="6" {{!}} [ [[vector]] {{LSL Param|cut}}, [[float]] {{LSL Param|hollow}}, [[float]] {{LSL Param|twist_end}}, [[vector]] {{LSL Param|top_size}}, [[vector]] {{LSL Param|top_shear}} ] | {{!}} colspan="6" {{!}} [ [[vector/ja|vector]] {{LSL Param/ja|cut}}, [[float/ja|float]] {{LSL Param/ja|hollow}}, [[float/ja|float]] {{LSL Param/ja|twist_end}}, [[vector/ja|vector]] {{LSL Param/ja|top_size}}, [[vector/ja|vector]] {{LSL Param/ja|top_shear}} ] | ||
{{!}}- | {{!}}- | ||
{{LSL ConstTB|PRIM_TYPE_SPHERE|integer|3}} | {{LSL ConstTB/ja|PRIM_TYPE_SPHERE|integer|3}} | ||
{{!}} colspan="6" {{!}} [ [[vector]] {{LSL Param|cut}}, [[float]] {{LSL Param|hollow}}, [[vector]] {{LSL Param|cut|dimple}} ] | {{!}} colspan="6" {{!}} [ [[vector/ja|vector]] {{LSL Param/ja|cut}}, [[float/ja|float]] {{LSL Param/ja|hollow}}, [[vector/ja|vector]] {{LSL Param/ja|cut|dimple}} ] | ||
{{!}}- | {{!}}- | ||
{{LSL ConstTB|PRIM_TYPE_TORUS|integer|4}} | {{LSL ConstTB/ja|PRIM_TYPE_TORUS|integer|4}} | ||
{{!}} colspan="6" {{!}} [ [[vector]] {{LSL Param|cut}}, [[float]] {{LSL Param|hollow}}, [[float]] {{LSL Param|twist_end}}, [[float]] {{LSL Param|hole_size_y}}, [[vector]] {{LSL Param|top_shear}}, [[vector]] {{LSL Param|cut|advanced_cut}} ] | {{!}} colspan="6" {{!}} [ [[vector/ja|vector]] {{LSL Param/ja|cut}}, [[float/ja|float]] {{LSL Param/ja|hollow}}, [[float/ja|float]] {{LSL Param/ja|twist_end}}, [[float/ja|float]] {{LSL Param/ja|hole_size_y}}, [[vector/ja|vector]] {{LSL Param/ja|top_shear}}, [[vector/ja|vector]] {{LSL Param/ja|cut|advanced_cut}} ] | ||
{{!}}- | {{!}}- | ||
{{LSL ConstTB|PRIM_TYPE_TUBE|integer|5}} | {{LSL ConstTB/ja|PRIM_TYPE_TUBE|integer|5}} | ||
{{!}} colspan="6" {{!}} [ [[vector]] {{LSL Param|cut}}, [[float]] {{LSL Param|hollow}}, [[float]] {{LSL Param|twist_end}}, [[float]] {{LSL Param|topshear_x}} ] | {{!}} colspan="6" {{!}} [ [[vector/ja|vector]] {{LSL Param/ja|cut}}, [[float/ja|float]] {{LSL Param/ja|hollow}}, [[float/ja|float]] {{LSL Param/ja|twist_end}}, [[float/ja|float]] {{LSL Param/ja|topshear_x}} ] | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
Line 257: | Line 257: | ||
<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 20:41, 15 April 2010
パラメータ | 返り値 / 付与パラメータ | 解説 | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
[ 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 map, integer 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_INVERT | 64 | 裏返し | 裏返しに表示 (法線を逆転させる) | ||||||||||||||||||
PRIM_SCULPT_FLAG_MIRROR | 128 | ミラー | スカルプトされたプリムを X 軸上で反転する | ||||||||||||||||||
[ PRIM_MATERIAL ] | 2 | [ integer material] | プリムの素材を取得 / 設定します。素材は標準衝突音とスプライトを決定します。 | ||||||||||||||||||
素材 フラグ | 説明 | 摩擦 | 反発 | ||||||||||||||||||
PRIM_MATERIAL_STONE | 0 | 石材 | 0.8 | 0.4 | |||||||||||||||||
PRIM_MATERIAL_METAL | 1 | 金属 | 0.3 | 0.4 | |||||||||||||||||
PRIM_MATERIAL_GLASS | 2 | ガラス | 0.2 | 0.7 | |||||||||||||||||
PRIM_MATERIAL_WOOD | 3 | 木材 | 0.6 | 0.5 | |||||||||||||||||
PRIM_MATERIAL_FLESH | 4 | 肌 | 0.9 | 0.3 | |||||||||||||||||
PRIM_MATERIAL_PLASTIC | 5 | プラスチック | 0.4 | 0.7 | |||||||||||||||||
PRIM_MATERIAL_RUBBER | 6 | ゴム | 0.9 | 0.9 | |||||||||||||||||
7 | 光, 非推奨: [ PRIM_FULLBRIGHT, ALL_SIDES, TRUE ] と同じように見えます | ||||||||||||||||||||
[ PRIM_PHYSICS ] | 3 | [ integer boolean ] | 物理状態を取得 / 設定します。 | ||||||||||||||||||
[ PRIM_TEMP_ON_REZ ] | 4 | [ integer boolean ] | テンポラリ属性 | ||||||||||||||||||
[ 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_TEXT ] | 26 | [ string text, vector color, float alpha ] |
| ||||||||||||||||||
[ PRIM_COLOR, integer face ] | 18 | [ vector color, float alpha ] |
| ||||||||||||||||||
[ PRIM_BUMP_SHINY, integer face ] | 19 | [ integer shiny, integer bump ] | |||||||||||||||||||
shiny と bump のフラグ | 説明 | ||||||||||||||||||||
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 ] | |||||||||||||||||||
[ |
24 | [ integer boolean ] | 廃止予定: プリミティブに影を割り付ける | ||||||||||||||||||
[ 1 ] |
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 ] |
警告
- texture がプリムの中で見つからない場合、かつこれが UUID でない場合、またはこれがtextureでない場合、エラーが DEBUG_CHANNEL 上で叫ばれます。
- texture が UUID である場合、オブジェクト自体に新たな アセット権限 が発生するようなことはありません。
- アセットをプリムのインベントリの中に置いた場合、これまで発生していた使用制限は新しいオブジェクトで新たに作成されません。
- ストレージ媒体として フローティングテキスト の機能が使えると思わないでください。これは不完全ですし、安全なものでもありません。
- フローティングテキストはサーバの更新時に変更になったことが過去にあり、その際に既に設定されている内容は消去されていました。将来も変更が発生する可能性があります。
- 「不可視」[1] のフローティングテキストもクライアントに送信されます。
- 不可視にしているテキストを表示することのできるクライアントを持っている人が見れてしまう可能性があります。
- テキストが含まれている通信パケットが盗聴され、テキストが読まれる可能性があります。
- top_size とクライアントの値は異なります。範囲は一致しておらず、変換が必要です。シンプルな計算式は、結果 = 1.0 - value です。詳細は top_size Explained をご覧ください。
- map がプリムの中で見つからない場合、かつこれが UUID でない場合、またはこれがtextureでない場合、エラーが DEBUG_CHANNEL 上で叫ばれます。
- map が UUID である場合、オブジェクト自体に新たな アセット権限 が発生するようなことはありません。
- アセットをプリムのインベントリの中に置いた場合、これまで発生していた使用制限は新しいオブジェクトで新たに作成されません。
- PRIM_PHANTOM, PRIM_PHYSICS と PRIM_TEMP_ON_REZ は内部オブジェクト(リンクセット)に適用されます。
- 値は草案で、切り捨て或いは制限された範囲になるでしょう。いくつかの制限は本来の形式にてクライアントによって適用され、その他の値はSIMが値を蓄積しようと試みたときにシミュレータによって適用されます。
- vectorとrotationをテストする時には、不明瞭なテストを実行するために(丁重に)llVecDistとllAngleBetween を用います。
- face が ALL_SIDES であれば flag は全ての面に作用します。
- face が存在しない面を指している場合、 flag の結果は ...
Template:HoverText/ja 表面が無効の場合に返します。 [ PRIM_COLOR ] [ ZERO_VECTOR/ja, 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 ]