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

From Second Life Wiki
Jump to navigation Jump to search
m
 
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>{{multi-lang}}</noinclude>{{#if:
<noinclude>{{multi-lang}}</noinclude>{{#if:
{{Footnote|When LL deprecated this flag they stripped it of it's name, however they did not remove the functionality. To aid in documenting the functionality, the value was given a new name in the documentation only. That is why PRIM_TYPE_LEGACY is not recognized by the compiler.|handle=ptl}}
{{:PRIM_NAME/ja|{{{1|}}}}}
{{:PRIM_NAME/ja|{{{1|}}}}}
{{:PRIM_DESC/ja|{{{1|}}}}}
{{:PRIM_DESC/ja|{{{1|}}}}}
{{:PRIM_SLICE/ja|{{{1|}}}}}
{{:PRIM_COLOR/ja|{{{1|}}}}}
{{:PRIM_COLOR/ja|{{{1|}}}}}
{{:PRIM_GLOW/ja|{{{1|}}}}}
{{:PRIM_GLOW/ja|{{{1|}}}}}
{{:PRIM_TEXGEN/ja|{{{1|}}}}}
{{:PRIM_TEXTURE/ja|{{{1|}}}}}
{{:PRIM_TEXTURE/ja|{{{1|}}}}}
{{:PRIM_RENDER_MATERIAL/ja|{{{1|}}}}}
{{:PRIM_TEXT/ja|{{{1|}}}}}
{{:PRIM_TEXT/ja|{{{1|}}}}}
{{:PRIM_FULLBRIGHT/ja|{{{1|}}}}}
{{:PRIM_FULLBRIGHT/ja|{{{1|}}}}}
{{:PRIM_TEXGEN/ja|{{{1|}}}}}
{{:PRIM_BUMP_SHINY/ja|{{{1|}}}}}
{{:PRIM_BUMP_SHINY/ja|{{{1|}}}}}
{{:PRIM_MATERIAL/ja|{{{1|}}}}}
{{:PRIM_MATERIAL/ja|{{{1|}}}}}
Line 18: Line 23:
{{:PRIM_SIZE/ja|{{{1|}}}}}
{{:PRIM_SIZE/ja|{{{1|}}}}}
{{:PRIM_POSITION/ja|{{{1|}}}}}
{{:PRIM_POSITION/ja|{{{1|}}}}}
{{:PRIM_POS_LOCAL/ja|{{{1|}}}}}
{{:PRIM_ROTATION/ja|{{{1|}}}}}
{{:PRIM_ROTATION/ja|{{{1|}}}}}
{{:PRIM_ROT_LOCAL/ja|{{{1|}}}}}
{{:PRIM_FLEXIBLE/ja|{{{1|}}}}}
{{:PRIM_FLEXIBLE/ja|{{{1|}}}}}
{{:PRIM_POINT_LIGHT/ja|{{{1|}}}}}
{{:PRIM_POINT_LIGHT/ja|{{{1|}}}}}
 
{{:PRIM_REFLECTION_PROBE/ja|{{{1|}}}}}
{{#ifeq:{{{1|set}}}|set|{{#vardefine:caveats|{{#var:caveats}}
{{:PRIM_OMEGA/ja|{{{1|}}}}}
* {{LSLG/ja|PRIM_PHANTOM}}, {{LSLG/ja|PRIM_PHYSICS}} {{LSLG/ja|PRIM_TEMP_ON_REZ}} はオブジェクト全体(リンクセット)に適用されます。
{{:PRIM_PHYSICS_SHAPE_TYPE/ja|{{{1|}}}}}
* 値はズレたり、切り捨てられたり、上限があったりすることもあります。描画の前にデシリアライゼーションの過程でクライアントがかける制限もあれば、SIM が値を格納する前にかける制限もあります。
{{:PRIM_NORMAL/ja|{{{1|}}}}}
** {{LSLG/ja|vector}} {{LSLG/ja|rotation}} をテストする時には、(それぞれ) {{LSLG/ja|llVecDist}} {{LSLG/ja|llAngleBetween}} を使ってファジングを行いましょう。}}}}
{{:PRIM_SPECULAR/ja|{{{1|}}}}}
{{:PRIM_ALPHA_MODE/ja|{{{1|}}}}}
<!--{{:PRIM_PHYSICS_MATERIAL/ja|{{{1|}}}}}-->
{{:PRIM_LINK_TARGET/ja|{{{1|}}}|{{{2|}}}}}<--Must be last-->


{{LSL_Function/color/ja|color}}
{{LSL_Function/color/ja|color}}
{{LSL_Function/linear_color/ja|linear_color}}
{{LSL_Function/alpha/ja|alpha}}
{{LSL_Function/alpha/ja|alpha}}
{{LSL_Function/boolean/ja|boolean}}
{{LSL_Function/boolean/ja|boolean}}
{{LSL_Function/face/ja|face|flag|!footer=*|return={{#ifeq:{{{1|get}}}|get|...
{{LSL_Function/face/ja|face|flag|!footer=*|returns={{#ifeq:{{{1|<noinclude>get</noinclude>}}}|get|nothing.}}}}
:{{{!}}{{Prettytable}}
{{!}}-{{Hl2}}
!{{HoverText|flag|PRIM_* フラグ}}
!無効な面の場合に返します。
{{!}}-
{{#var:facetable}}
{{!}}-
{{!}}}
}}}}


}}{{#ifeq:{{{1|<noinclude>set</noinclude>}}}|set|
}}{{#ifeq:{{{1|<noinclude>set</noinclude>}}}|set|
Line 45: Line 47:
{{!}}- {{Hl2}}
{{!}}- {{Hl2}}
! class="sortable" {{!}}フラグ
! class="sortable" {{!}}フラグ
! class="sortable" title="Value" style="cursor: help;" {{!}}<span style="border-bottom: 1px dotted;">値</span>
! class="sortable" {{!}}説明
! class="sortable" {{!}}説明
! class="unsortable" {{!}}使い方
! class="unsortable" {{!}}使い方
{{!}}-
{{!}}-
{{!}} [[#PRIM_NAME|PRIM_NAME]]
{{!}} [[#PRIM_NAME|PRIM_NAME]]
{{!}} Sets the prim's name.
{{!}} 27
{{!}} [&nbsp;{{LSL Const|PRIM_NAME|integer|27}}, [[string/ja|string]]&nbsp;{{LSL Param/ja|name}}&nbsp;]
{{!}} プリムの名前を設定します。
{{!}} [&nbsp;{{#var:name_const}}, [[string/ja|string]]&nbsp;{{LSL Param/ja|name}}&nbsp;]
{{!}}-
{{!}}-
{{!}} [[#PRIM_DESC|PRIM_DESC]]
{{!}} [[#PRIM_DESC|PRIM_DESC]]
{{!}} Sets the prim's description.
{{!}} 28
{{!}} [&nbsp;{{LSL Const|PRIM_DESC|integer|28}}, [[string/ja|string]]&nbsp;{{LSL Param/ja|description}}&nbsp;]
{{!}} プリムの説明を設定します。
{{!}} [&nbsp;{{#var:desc_const}}, [[string/ja|string]]&nbsp;{{LSL Param/ja|description}}&nbsp;]
{{!}}-
{{!}}-
{{!}} [[#PRIM_TYPE|PRIM_TYPE]]
{{!}} [[#PRIM_TYPE|PRIM_TYPE]]
{{!}} 9
{{!}} プリムの形状を設定します。
{{!}} プリムの形状を設定します。
{{!}} [&nbsp;{{LSL Const|PRIM_TYPE|integer|9}}, [[integer/ja|integer]]&nbsp;{{HoverText|flag|PRIM_TYPE_* flag}}&nbsp;]&nbsp;+ {{HoverLink|#PRIM_TYPE_flag_parameters|フラグによって要求される付与パラメータ|フラグパラメータ}}
{{!}} [&nbsp;{{#var:type_const}}, [[integer/ja|integer]]&nbsp;{{HoverText|flag|PRIM_TYPE_* flag}}&nbsp;]&nbsp;+ {{HoverLink|#PRIM_TYPE_flag_parameters|Additional parameters required by the flag|flag_parameters}}
{{!}}-
{{!}} [[#PRIM_SLICE|PRIM_SLICE]]
{{!}} 35
{{!}} プリム属性のスライスを設定します。
{{!}} [&nbsp;{{#var:slice_const}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|cut|slice}}&nbsp;]
{{!}}-
{{!}} [[#PRIM_PHYSICS_SHAPE_TYPE|PRIM_PHYSICS_SHAPE_TYPE]]
{{!}} 30
{{!}} プリムの物理形状タイプを設定します。
{{!}} [&nbsp;{{#var:physics_shape_type_const}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|pstype|type}}&nbsp;]
{{!}}-
{{!}}-
{{!}} [[#PRIM_MATERIAL|PRIM_MATERIAL]]
{{!}} [[#PRIM_MATERIAL|PRIM_MATERIAL]]
{{!}} 2
{{!}} プリムの素材を設定します。
{{!}} プリムの素材を設定します。
{{!}} [&nbsp;{{LSL Const|PRIM_MATERIAL|integer|2}}, [[integer/ja|integer]]&nbsp;{{HoverText|flag|PRIM_MATERIAL_* flag}}&nbsp;]
{{!}} [&nbsp;{{#var:material_const}}, [[integer/ja|integer]]&nbsp;{{HoverText|flag|PRIM_MATERIAL_* flag}}&nbsp;]
{{!}}-
<!--{{!}} [[#PRIM_PHYSICS_MATERIAL|PRIM_PHYSICS_MATERIAL]]
{{!}} 31
{{!}} プリムの物理マテリアルを設定します。
{{!}} [&nbsp;{{#var:physics_material_const}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|material_bits}}, [[float]]&nbsp;{{LSL Param/ja|gravity_multiplier}}, [[float]]&nbsp;{{LSL Param/ja|restitution}}, [[float]]&nbsp;{{LSL Param/ja|friction}}, [[float]]&nbsp;{{LSL Param/ja|density}}&nbsp;]-->
{{!}}-
{{!}}-
{{!}} [[#PRIM_PHYSICS|PRIM_PHYSICS]]
{{!}} [[#PRIM_PHYSICS|PRIM_PHYSICS]]
{{!}} 3
{{!}} プリムの物理状態を設定します。
{{!}} プリムの物理状態を設定します。
{{!}} [&nbsp;{{LSL Const|PRIM_PHYSICS|integer|3}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}&nbsp;]
{{!}} [&nbsp;{{#var:physics_const}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}&nbsp;]
{{!}}-
{{!}}-
{{!}} [[#PRIM_TEMP_ON_REZ|PRIM_TEMP_ON_REZ]]
{{!}} [[#PRIM_TEMP_ON_REZ|PRIM_TEMP_ON_REZ]]
{{!}} 4
{{!}} {{LSLGC/ja|Temporary|臨時}} 属性を設定します。
{{!}} {{LSLGC/ja|Temporary|臨時}} 属性を設定します。
{{!}} [&nbsp;{{LSL Const|PRIM_TEMP_ON_REZ|integer|4}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}&nbsp;]
{{!}} [&nbsp;{{#var:temponrez_const}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}&nbsp;]
{{!}}-
{{!}}-
{{!}} [[#PRIM_PHANTOM|PRIM_PHANTOM]]
{{!}} [[#PRIM_PHANTOM|PRIM_PHANTOM]]
{{!}} 5
{{!}} オブジェクトのファントム状態を設定します。
{{!}} オブジェクトのファントム状態を設定します。
{{!}} [&nbsp;{{LSL Const|PRIM_PHANTOM|integer|5}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}&nbsp;]
{{!}} [&nbsp;{{#var:phantom_const}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}&nbsp;]
{{!}}-
{{!}}-
{{!}} [[#PRIM_POSITION|PRIM_POSITION]]
{{!}} [[#PRIM_POSITION|PRIM_POSITION]]
{{!}} 6
{{!}} プリムの位置を設定します。
{{!}} プリムの位置を設定します。
{{!}} [&nbsp;{{LSL Const|PRIM_POSITION|integer|6}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|position{{{1|}}}|position}}&nbsp;]
{{!}} [&nbsp;{{#var:position_const}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|position{{{1|}}}|position}}&nbsp;]
{{!}}-
{{!}} [[#PRIM_POS_LOCAL|PRIM_POS_LOCAL]]
{{!}} 33
{{!}} プリムのローカル位置を設定します。
{{!}} [&nbsp;{{#var:pos_local_const}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|pos|position}}&nbsp;]
{{!}}-
{{!}}-
{{!}} [[#PRIM_ROTATION|PRIM_ROTATION]]
{{!}} [[#PRIM_ROTATION|PRIM_ROTATION]]
{{!}} 8
{{!}} プリムの回転を設定します。
{{!}} プリムの回転を設定します。
{{!}} [&nbsp;{{LSL Const|PRIM_ROTATION|integer|8}}, [[rotation]]&nbsp;{{LSL Param/ja|rot}}&nbsp;]
{{!}} [&nbsp;{{#var:rotation_const}}, [[rotation/ja|rotation]]&nbsp;{{LSL Param/ja|rot}}&nbsp;]
{{!}}-
{{!}}-
{{!}} [[#PRIM_ROT_LOCAL|PRIM_ROT_LOCAL]]
{{!}} [[#PRIM_ROT_LOCAL|PRIM_ROT_LOCAL]]
{{!}} Sets the prim's local rotation.
{{!}} 29
{{!}} [&nbsp;{{LSL Const|PRIM_ROT_LOCAL|integer|29}}, [[rotation]]&nbsp;{{LSL Param/ja|rot}}&nbsp;]
{{!}} プリムのローカル回転を設定します。
{{!}} [&nbsp;{{#var:rot_local_const}}, [[rotation/ja|rotation]]&nbsp;{{LSL Param/ja|rot_local|rot}}&nbsp;]
{{!}}-
{{!}}-
{{!}} [[#PRIM_SIZE|PRIM_SIZE]]
{{!}} [[#PRIM_SIZE|PRIM_SIZE]]
{{!}} 7
{{!}} プリムの大きさを設定します。
{{!}} プリムの大きさを設定します。
{{!}} [&nbsp;{{LSL Const|PRIM_SIZE|integer|7}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|size}}&nbsp;]
{{!}} [&nbsp;{{#var:size_const}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|size}}&nbsp;]
{{!}}-
{{!}}-
{{!}} [[#PRIM_TEXTURE|PRIM_TEXTURE]]
{{!}} [[#PRIM_TEXTURE|PRIM_TEXTURE]]
{{!}} 17
{{!}} プリムのテキスチャ属性を設定します。
{{!}} プリムのテキスチャ属性を設定します。
{{!}} [&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;]
{{!}} [&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]]&nbsp;{{LSL Param/ja|rotation_in_radians}}&nbsp;]
{{!}}-
{{!}} [[#PRIM_RENDER_MATERIAL|PRIM_RENDER_MATERIAL]]
{{!}} 43
{{!}} プリムの{{LSL Param/ja|render_material}}を設定します。 Setting this param will also clear most [[LlSetPrimitiveParams/ja#PRIM_GLTF_BASE_COLOR|PRIM_GLTF_*]] properties on the face, with the exceptions of repeats, offsets, and rotation_in_radians
<strong>Caveat:</strong> This parameter will be supported in the upcoming GLTF Materials project. Currently it will only work in supported testing areas with a supported test viewer.
{{!}} [&nbsp;{{#var:render_material_const}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}, [[string/ja|string]]&nbsp;{{LSL Param/ja|render_material}}&nbsp;]
{{!}}-
{{!}}-
{{!}} [[#PRIM_TEXT|PRIM_TEXT]]
{{!}} [[#PRIM_TEXT|PRIM_TEXT]]
{{!}} 26
{{!}} プリムのフローティングテキストを設定します。
{{!}} プリムのフローティングテキストを設定します。
{{!}} [&nbsp;{{#var:text_const}}, [[string/ja|string]]&nbsp;{{LSL Param|text}}, [[vector/ja|vector]]&nbsp;{{LSL Param|color}}, [[float/ja|float]]&nbsp;{{LSL Param|alpha}}&nbsp;]
{{!}} [&nbsp;{{#var:text_const}}, [[string/ja|string]]&nbsp;{{LSL Param/ja|text}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|color}}, [[float]]&nbsp;{{LSL Param/ja|alpha}}&nbsp;]
{{!}}-
{{!}}-
{{!}} [[#PRIM_COLOR|PRIM_COLOR]]
{{!}} [[#PRIM_COLOR|PRIM_COLOR]]
{{!}} 18
{{!}} 面の色を設定します。
{{!}} 面の色を設定します。
{{!}} [&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;]
{{!}} [&nbsp;{{#var:color_const}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|color}}, [[float]]&nbsp;{{LSL Param/ja|alpha}}&nbsp;]
{{!}}-
{{!}}-
{{!}} [[#PRIM_BUMP_SHINY|PRIM_BUMP_SHINY]]
{{!}} [[#PRIM_BUMP_SHINY|PRIM_BUMP_SHINY]]
{{!}} 19
{{!}} 面の輝きと凹凸を設定します。
{{!}} 面の輝きと凹凸を設定します。
{{!}} [&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;]
{{!}} [&nbsp;{{#var:bumpshiny_const}}, [[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;]
{{!}}-
{{!}}-
{{!}} [[#PRIM_POINT_LIGHT|PRIM_POINT_LIGHT]]
{{!}} [[#PRIM_POINT_LIGHT|PRIM_POINT_LIGHT]]
{{!}} 23
{{!}} プリムをポイントライトとして設定します。
{{!}} プリムをポイントライトとして設定します。
{{!}} [&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;]
{{!}} [&nbsp;{{#var:light_const}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|linear_color}}, [[float]]&nbsp;{{LSL Param/ja|intensity}}, [[float]]&nbsp;{{LSL Param/ja|radius}}, [[float]]&nbsp;{{LSL Param/ja|falloff}}&nbsp;]
{{!}}-
{{!}} [[#PRIM_REFLECTION_PROBE|PRIM_REFLECTION_PROBE]]
{{!}} 44
{{!}} プリムのリフレクションプローブを設定します
<strong>Caveat:</strong> This parameter will be supported in the upcoming GLTF Materials project. Currently it will only work in supported testing areas with a supported test viewer.
{{!}} [&nbsp;{{#var:reflection_probe_const}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}, [[float]]&nbsp;{{LSL Param/ja|ambiance}}, [[float]]&nbsp;{{LSL Param/ja|clip_distance}}, [[integer/ja|integer]]&nbsp;{{HoverText|flags|PRIM_REFLECTION_PROBE_* flags}}&nbsp;]
{{!}}-
{{!}}-
{{!}} [[#PRIM_FULLBRIGHT|PRIM_FULLBRIGHT]]
{{!}} [[#PRIM_FULLBRIGHT|PRIM_FULLBRIGHT]]
{{!}} 20
{{!}} 表面の明るさ全開フラグを設定します。
{{!}} 表面の明るさ全開フラグを設定します。
{{!}} [&nbsp;{{#var:fullbright_const}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}&nbsp;]
{{!}} [&nbsp;{{#var:fullbright_const}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}&nbsp;]
{{!}}-
{{!}}-
{{!}} [[#PRIM_FLEXIBLE|PRIM_FLEXIBLE]]
{{!}} [[#PRIM_FLEXIBLE|PRIM_FLEXIBLE]]
{{!}} 21
{{!}} プリムをフレキシブルに設定します。
{{!}} プリムをフレキシブルに設定します。
{{!}} [&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;]
{{!}} [&nbsp;{{#var:flexible_const}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|softness}}, [[float]]&nbsp;{{LSL Param/ja|flex_float|gravity}}, [[float]]&nbsp;{{LSL Param/ja|flex_float|friction}}, [[float]]&nbsp;{{LSL Param/ja|flex_float|wind}}, [[float]]&nbsp;{{LSL Param/ja|flex_float|tension}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|force}}&nbsp;]
{{!}}-
{{!}}-
{{!}} [[#PRIM_TEXGEN|PRIM_TEXGEN]]
{{!}} [[#PRIM_TEXGEN|PRIM_TEXGEN]]
{{!}} 22
{{!}} 表面のテクスチャモードを設定します。
{{!}} 表面のテクスチャモードを設定します。
{{!}} [&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;]
{{!}} [&nbsp;{{#var:texgen_const}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}, [[integer/ja|integer]]&nbsp;{{HoverText|type|PRIM_TEXGEN_* flag}}&nbsp;]
{{!}}-
{{!}}-
{{!}} [[#PRIM_GLOW|PRIM_GLOW]]
{{!}} [[#PRIM_GLOW|PRIM_GLOW]]
{{!}} 25
{{!}} 表面のグロー属性を設定します。
{{!}} 表面のグロー属性を設定します。
{{!}} [&nbsp;{{#var:glow_const}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|intensity}}&nbsp;]
{{!}} [&nbsp;{{#var:glow_const}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}, [[float]]&nbsp;{{LSL Param/ja|intensity}}&nbsp;]
{{!}}-
{{!}} [[#PRIM_OMEGA|PRIM_OMEGA]]
{{!}} 32
{{!}} プリムの回転軸と回転速度を設定します。
{{!}} [&nbsp;{{#var:omega_const}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|axis}}, [[float]]&nbsp;{{LSL Param/ja|spinrate}}, [[float]]&nbsp;{{LSL Param/ja|gain}}&nbsp;]
{{!}}-
{{!}} [[#PRIM_NORMAL|PRIM_NORMAL]]
{{!}} 37
{{!}} ノーマルマップを設定します
{{!}} [&nbsp;{{#var:normal_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]]&nbsp;{{LSL Param/ja|rotation_in_radians}}&nbsp;]
{{!}}-
{{!}} [[#PRIM_SPECULAR|PRIM_SPECULAR]]
{{!}} 36
{{!}} スペキュラーマップを設定します
{{!}} [&nbsp;{{#var:specular_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]]&nbsp;{{LSL Param/ja|rotation_in_radians}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|color}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|glossiness}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|environment}}&nbsp;]
{{!}}-
{{!}} [[#PRIM_ALPHA_MODE|PRIM_ALPHA_MODE]]
{{!}} 38
{{!}} アルファーレンダリングモードを設定します
{{!}} [&nbsp;{{#var:alpha_mode_const}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|alpha_mode}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|mask_cutoff}}&nbsp;]
{{!}}-
{{!}} [[#PRIM_LINK_TARGET|PRIM_LINK_TARGET]]
{{!}} 34
{{!}} リンクセットの中で使用するリンク番号を設定します。
{{!}} [&nbsp;{{#var:link_target_const}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|link_target}}&nbsp;]
{{!}}-
{{!}}-
{{!}} [[#PRIM_CAST_SHADOWS|PRIM_CAST_SHADOWS]]
{{!}} [[#PRIM_CAST_SHADOWS|PRIM_CAST_SHADOWS]]
{{!}} 24
{{!}} プリムのキャストシャドウ属性を設定します。('''廃止予定''')
{{!}} プリムのキャストシャドウ属性を設定します。('''廃止予定''')
{{!}} [&nbsp;{{LSL Const|PRIM_CAST_SHADOWS|integer|24}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}&nbsp;]
{{!}} [&nbsp;{{LSL Const|PRIM_CAST_SHADOWS|integer|24}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}&nbsp;]
{{!}}-
{{!}}-
{{!}} [[#PRIM_TYPE_LEGACY|PRIM_TYPE_LEGACY]]
{{!}} [[#PRIM_TYPE_LEGACY|PRIM_TYPE_LEGACY]]{{Footnote|handle=ptl}}
{{!}} 1
{{!}} プリムの形状を設定します。(レガシー項目, '''廃止予定''')
{{!}} プリムの形状を設定します。(レガシー項目, '''廃止予定''')
{{!}} [&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}}
{{!}} [&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}}
{{!}}-
{{!}} [[PRIM_ALLOW_UNSIT]]
{{!}} 39
{{!}} Avatars are allowed to manually stand up when seated on this prim.  Only valid for prims in a valid experience.
{{!}} [ PRIM_ALLOW_UNSIT, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}&nbsp;]
{{!}}-
{{!}} [[PRIM_SCRIPTED_SIT_ONLY]]
{{!}} 40
{{!}} Avatars are not permitted to manually sit on this prim.
{{!}} [ PRIM_SCRIPTED_SIT_ONLY, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}&nbsp;]
{{!}}-
{{!}} [[PRIM_SIT_TARGET]]
{{!}} 41
{{!}} The sit target, if any defined for this prim.
{{!}} [ PRIM_SIT_TARGET, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|pos|offset}}, [[rotation/ja|rotation]]&nbsp;{{LSL Param/ja|rot}}&nbsp;]
{{!}}-
{{!}} [[PRIM_PROJECTOR]]
{{!}} 42
{{!}} Light projector settings for this prim.
{{!}} [ PRIM_PROJECTOR, [[string/ja|string]]&nbsp;{{LSL Param/ja|texture}}, [[float]]&nbsp;{{LSL Param/ja|fov}}, [[float]]&nbsp;{{LSL Param/ja|focus}}, [[float]]&nbsp;{{LSL Param/ja|ambiance}}&nbsp;]
{{!}}-
{{!}} [[PRIM_GLTF_BASE_COLOR]]
{{!}} 48
{{!}} Sets the prim's GLTF Material Base Color map attributes.
{{LSL_Constants/PrimitiveParams/gltf_caveats/ja}}
{{!}} [ PRIM_GLTF_BASE_COLOR, [[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]]&nbsp;{{LSL Param/ja|rotation_in_radians}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|linear_color}}, [[float]]&nbsp;{{LSL Param/ja|alpha}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|alpha_mode}}, [[float]]&nbsp;{{LSL Param/ja|alpha_mask_cutoff}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|double_sided}}&nbsp;]
{{!}}-
{{!}} [[PRIM_GLTF_NORMAL]]
{{!}} 45
{{!}} Sets the prim's GLTF Material Normal map attributes.
{{LSL_Constants/PrimitiveParams/gltf_caveats/ja}}
{{!}} [ PRIM_GLTF_NORMAL, [[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]]&nbsp;{{LSL Param/ja|rotation_in_radians}}&nbsp;]
{{!}}-
{{!}} [[PRIM_GLTF_METALLIC_ROUGHNESS]]
{{!}} 47
{{!}} Sets the prim's GLTF ORM map attributes (Occlusion, Roughness, Metallic).
{{LSL_Constants/PrimitiveParams/gltf_caveats/ja}}
{{!}} [ PRIM_GLTF_METALLIC_ROUGHNESS, [[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]]&nbsp;{{LSL Param/ja|rotation_in_radians}}, [[float]]&nbsp;{{LSL Param/ja|metallic_factor}}, [[float]]&nbsp;{{LSL Param/ja|roughness_factor}}&nbsp;]
{{!}}-
{{!}} [[PRIM_GLTF_EMISSIVE]]
{{!}} 46
{{!}} Sets the prim's GLTF Material Emissive map attributes.
{{LSL_Constants/PrimitiveParams/gltf_caveats/ja}}
{{!}} [ PRIM_GLTF_EMISSIVE, [[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]]&nbsp;{{LSL Param/ja|rotation_in_radians}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|emissive_tint}}&nbsp;]
{{!}}} }}
{{!}}} }}
{{{!}} {{Prettytable|style=margin: 0px 0px 10px 1pt;}} {{#switch:{{NAMESPACE}}|Template=|User=|{{LSLC/ja|Light}}}}
{{{!}} {{Prettytable|style=margin: 0px 0px 10px 1pt;}} {{#switch:{{NAMESPACE}}|Template=|User=|{{LSLC|Light}}}}
{{!}}- {{Hl2}}
{{!}}- {{Hl2}}
! colspan="2" {{!}} パラメータ
! colspan="2" {{!}} パラメータ
Line 142: Line 269:
! colspan="6" {{!}} 説明
! colspan="6" {{!}} 説明
{{!}}-
{{!}}-
{{LSL ConstTB/ja|PRIM_TYPE|integer|9|b=[&nbsp;|e=&nbsp;]|s=rowspan="21"|s1=id="PRIM_TYPE"}}
{{LSL ConstTB|PRIM_NAME|integer|27|b=[&nbsp;|e=&nbsp;]|s1=id="PRIM_NAME"}}
{{!}} colspan="2" {{!}} [ [[integer/ja|integer]]&nbsp;{{HoverText|flag|PRIM_TYPE_* flag}} ]
{{!}} colspan="5" {{!}} [ [[string/ja|string]]&nbsp;{{LSL Param/ja|name}}&nbsp;]
{{!}} colspan="6" {{!}} プリムの形状を{{GetSet|{{{1|}}}|取得|設定}}します。
{{!}} colspan="3" {{!}} プリムの名前を{{GetSet|{{{1|}}}|[[llGetObjectName/ja|取得]]|[[llSetObjectName/ja|設定]]}}します。
{{!}}-
{{!}}-
{{LSL Constants/PrimitiveParams/type/ja|{{{1|}}}}}
{{LSL ConstTB|PRIM_DESC|integer|28|b=[&nbsp;|e=&nbsp;]|s1=id="PRIM_DESC"}}
{{!}}- style="background-color: rgba(0, 0, 0, 0.1);"
{{!}} colspan="5" {{!}} [ [[string/ja|string]]&nbsp;{{LSL Param/ja|description}}&nbsp;]
{{!}} colspan="10" {{!}}
{{!}} colspan="3" {{!}} プリムの説明を{{GetSet|{{{1|}}}|[[llGetObjectDesc/ja|取得]]|[[llSetObjectDesc/ja|設定]]}}します。
{{!}}-
{{!}}-
{{LSL ConstTB/ja|PRIM_MATERIAL|integer|2|b=[&nbsp;|e=&nbsp;]|s=rowspan="10"|s1=id="PRIM_MATERIAL"}}
{{LSL ConstTB|PRIM_TYPE|integer|9|b=[&nbsp;|e=&nbsp;]|s1=id="PRIM_TYPE"}}
{{!}} colspan="2" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|material}}]
{{!}} colspan="2" {{!}} [ [[integer/ja|integer]]&nbsp;{{HoverText|flag|PRIM_TYPE_* flag}}&nbsp;]&nbsp;+ flag_parameters
{{!}} colspan="6" {{!}} プリムの素材を{{GetSet|{{{1|}}}|取得|設定}}します。素材は標準の [[llCollisionSound/ja|衝突音]] と [[llCollisionSprite/ja|スプライト]] を決定します。
{{!}} colspan="6" {{!}} プリムの形状を{{GetSet|{{{1|}}}|取得|設定}}します。 {{CustomToggle|PRIM_TYPE|show=Would&nbsp;you&nbsp;like&nbsp;to&nbsp;know&nbsp;more?|link=PRIM_TYPE}}
{{!}}- {{CustomToggle/Collapsible|PRIM_TYPE}}
{{!}} colspan="2" {{!}}
{{!}} colspan="8" {{!}}
{{LSL Constants/PrimitiveParams/type/ja|{{{1|}}}|table=*|sortable=*}}
{{!}}-
{{LSL ConstTB|PRIM_SLICE|integer|35|b=[&nbsp;|e=&nbsp;]|s1=id="PRIM_SLICE"}}
{{!}} colspan="2" {{!}} [ [[vector/ja|vector]]&nbsp;{{LSL Param/ja|cut|slice}}&nbsp;]
{{!}} colspan="6" {{!}} プリム属性のスライスを{{GetSet|{{{1|}}}|取得|設定}}します。
{{!}}-
{{LSL ConstTB|PRIM_PHYSICS_SHAPE_TYPE|integer|30|b=[&nbsp;|e=&nbsp;]|s=rowspan="5"|s1=id="PRIM_PHYSICS_SHAPE_TYPE"}}
{{!}} colspan="2" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|pstype|type}}&nbsp;]
{{!}} colspan="6" {{!}} プリムの物理形状タイプを{{GetSet|{{{1|}}}|取得|設定}}します。
{{!}}-
{{#var:physics_shape_type_rows}}
{{!}}-
{{LSL ConstTB|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}}&nbsp;]
{{!}} colspan="6" {{!}} プリムの素材を{{GetSet|{{{1|}}}|取得|設定}}します。素材は標準の [[llCollisionSound/ja|衝突音]] と [[llCollisionSprite/ja|スプライト]] を決定します。 [[llSetPhysicsMaterial/ja|{{LSLP|friction}} coefficient and {{LSLP|restitution}} coefficient]].
{{!}}-
{{!}}-
{{LSL Constants/PrimitiveParams/materials/ja}}
{{LSL Constants/PrimitiveParams/materials/ja}}
{{!}}-
{{!}}-
{{LSL ConstTB/ja|PRIM_PHYSICS|integer|3|b=[&nbsp;|e=&nbsp;]|s1=id="PRIM_PHYSICS"}}
<!--{{LSL ConstTB|PRIM_PHYSICS_MATERIAL|integer|31|b=[&nbsp;|e=&nbsp;]|s=rowspan="6"|s1=id="PRIM_PHYSICS_SHAPE_TYPE"}}
{{!}} colspan="5" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|material_bits}}, [[float]]&nbsp;{{LSL Param/ja|gravity_multiplier}}, [[float]]&nbsp;{{LSL Param/ja|restitution}}, [[float]]&nbsp;{{LSL Param/ja|friction}}, [[float]]&nbsp;{{LSL Param/ja|density}}&nbsp;]
{{!}} colspan="3" {{!}} Physics material properties {{GetSet|{{{1|}}}|[[llGetPhysicsMaterial]]|[[llSetPhysicsMaterial]]}}
{{!}}-
{{#var:physics_material_rows}}-->
{{!}}-
{{LSL ConstTB|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|取得]]|[[llSetStatus/ja|設定]]}}します。
{{!}} colspan="3" {{!}} 物理状態を{{GetSet|{{{1|}}}|[[llGetStatus/ja|取得]]|[[llSetStatus/ja|設定]]}}します。
{{!}}-
{{!}}-
{{LSL ConstTB/ja|PRIM_TEMP_ON_REZ|integer|4|b=[&nbsp;|e=&nbsp;]|s1=id="PRIM_TEMP_ON_REZ"}}
{{LSL ConstTB|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" {{!}} {{LSLGC/ja|Temporary|テンポラリ}}属性
{{!}} colspan="3" {{!}} {{LSLGC/ja|Temporary|テンポラリ}}属性
{{!}}-
{{!}}-
{{LSL ConstTB/ja|PRIM_PHANTOM|integer|5|b=[&nbsp;|e=&nbsp;]|s1=id="PRIM_PHANTOM"}}
{{LSL ConstTB|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|取得]]|[[llSetStatus/ja|設定]]}}します。
{{!}} colspan="3" {{!}} ファントム状態を{{GetSet|{{{1|}}}|[[llGetStatus/ja|取得]]|[[llSetStatus/ja|設定]]}}します。
{{!}}-
{{!}}-
{{LSL ConstTB/ja|PRIM_POSITION|integer|6|b=[&nbsp;|e=&nbsp;]|s1=id="PRIM_POSITION"}}
{{LSL ConstTB|PRIM_POSITION|integer|6|b=[&nbsp;|e=&nbsp;]|s1=id="PRIM_POSITION"}}
{{!}} colspan="5" {{!}} [ [[vector/ja|vector]]&nbsp;{{LSL Param/ja|position{{{1|}}}|position}}&nbsp;]
{{!}} colspan="5" {{!}} [ [[vector/ja|vector]]&nbsp;{{LSL Param/ja|position{{{1|}}}|position}}&nbsp;]
{{!}} colspan="3" {{!}} 位置を{{GetSet|{{{1|}}}|[[llGetPos/ja|取得]]|[[llSetPos/ja|設定]]}}します。
{{!}} colspan="3" {{!}} 位置を{{GetSet|{{{1|}}}|[[llGetPos/ja|取得]]|[[llSetPos/ja|設定]]}}します。
{{!}}-
{{!}}-
{{LSL ConstTB/ja|PRIM_ROTATION|integer|8|b=[&nbsp;|e=&nbsp;]|s1=id="PRIM_ROTATION"}}
{{LSL ConstTB|PRIM_POS_LOCAL|integer|33|b=[&nbsp;|e=&nbsp;]|s1=id="PRIM_POS_LOCAL"}}
{{!}} colspan="5" {{!}} [ [[vector/ja|vector]]&nbsp;{{LSL Param/ja|pos|position}}&nbsp;]
{{!}} colspan="3" {{!}} ローカル位置を{{GetSet|{{{1|}}}|[[llGetPos/ja|取得]]|[[llSetPos/ja|設定]]}}します。
{{!}}-
{{LSL ConstTB|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|取得]]|[[llSetRot/ja|設定]]}}します。
{{!}} colspan="3" {{!}} 回転を{{GetSet|{{{1|}}}|[[llGetRot/ja|取得]]|[[llSetRot/ja|設定]]}}します。(子プリムでは壊れています)
{{!}}-
{{LSL ConstTB|PRIM_ROT_LOCAL|integer|29|b=[&nbsp;|e=&nbsp;]|s1=id="PRIM_ROT_LOCAL"}}
{{!}} colspan="5" {{!}} [ [[rotation/ja|rotation]]&nbsp;{{LSL Param/ja|rot_local|rot}}&nbsp;]
{{!}} colspan="3" {{!}} ローカル回転を{{GetSet|{{{1|}}}|[[llGetLocalRot/ja|取得]]|[[llSetLocalRot/ja|設定]]}}します。
{{!}}-
{{!}}-
{{LSL ConstTB/ja|PRIM_SIZE|integer|7|b=[&nbsp;|e=&nbsp;]|s1=id="PRIM_SIZE"}}
{{LSL ConstTB|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|取得]]|[[llSetScale/ja|設定]]}}します。
{{!}} 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;]|s1=id="PRIM_TEXTURE"}}
{{LSL ConstTB|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]]&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}}}|get|[[llGetTexture]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llSetTexture]]}}
{{!}}-
{{!}}-
{{!!}}繰り返し: {{!}}{{!}} {{#ifeq:{{{1|get}}}|get|[[llGetTextureScale/ja|llGetTextureScale]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llScaleTexture/ja|llScaleTexture]]}}
{{!!}}繰り返し: {{!}}{{!}} {{#ifeq:{{{1|get}}}|get|[[llGetTextureScale]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llScaleTexture]]}}
{{!}}-
{{!}}-
{{!!}}オフセット: {{!}}{{!}} {{#ifeq:{{{1|get}}}|get|[[llGetTextureOffset/ja|llGetTextureOffset]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llOffsetTexture/ja|llOffsetTexture]]}}
{{!!}}オフセット: {{!}}{{!}} {{#ifeq:{{{1|get}}}|get|[[llGetTextureOffset]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llOffsetTexture]]}}
{{!}}-
{{!}}-
{{!!}}回転: {{!}}{{!}} {{#ifeq:{{{1|get}}}|get|[[llGetTextureRot/ja|llGetTextureRot]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llRotateTexture/ja|llRotateTexture]]}}
{{!!}}回転: {{!}}{{!}} {{#ifeq:{{{1|get}}}|get|[[llGetTextureRot]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llRotateTexture]]}}
{{!}}}
{{!}}}
{{!}}-
{{!}}-
{{LSL ConstTB/ja|PRIM_TEXT|integer|26|b=[&nbsp;|e=&nbsp;]|s1=id="PRIM_TEXT"}}
{{LSL ConstTB|PRIM_RENDER_MATERIAL|integer|43|b=[&nbsp;|e=, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}&nbsp;]|s1=id="PRIM_RENDER_MATERIAL"}}
{{!}} colspan="5" {{!}} [ [[string]]&nbsp;{{LSL Param|text}}, [[vector]]&nbsp;{{LSL Param|color}}, [[float]]&nbsp;{{LSL Param|alpha}}&nbsp;]
{{!}} colspan="5" {{!}} [ [[string/ja|string]]&nbsp;{{LSL Param/ja|render_material}}&nbsp;]
<strong>Caveat:</strong> This parameter will be supported in the upcoming GLTF Materials project. Currently it will only work in supported testing areas with a supported test viewer.
{{!}} colspan="3" {{!}}
{{!}} colspan="3" {{!}}
{{{!}} style="background-color:#F9F9F9;"
{{{!}} style="background-color:#F9F9F9;"
{{!}}{{!}}{{LSLGC/ja|Text}}: {{!}}{{!}} {{#ifeq:{{{1|get}}}|get|なし}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llSetText]]}}
{{!}}{{!}}マテリアル: {{!}}{{!}} {{#ifeq:{{{1|get}}}|get|[[llGetRenderMaterial]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llSetRenderMaterial]]}}
{{!}}}
{{!}}}
{{!}}-
{{!}}-
{{LSL ConstTB/ja|PRIM_COLOR|integer|18|b=[&nbsp;|e=, [[integer]]&nbsp;{{LSL Param|face}}&nbsp;]|s1=id="PRIM_COLOR"}}
{{LSL ConstTB|PRIM_TEXT|integer|26|b=[&nbsp;|e=&nbsp;]|s1=id="PRIM_TEXT"}}
{{!}} colspan="5" {{!}} [ [[vector]]&nbsp;{{LSL Param|color}}, [[float]]&nbsp;{{LSL Param|alpha}}&nbsp;]
{{!}} colspan="5" {{!}} [ [[string/ja|string]]&nbsp;{{LSL Param/ja|text}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|color}}, [[float]]&nbsp;{{LSL Param/ja|alpha}}&nbsp;]
{{!}} colspan="3" {{!}} Floating Text: {{GetSet|{{{1|}}}|NA|[[llSetText]]}}
{{!}}-
{{LSL ConstTB|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]]&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|[[llSetAlpha/ja|llSetAlpha]]}}
{{!!}}{{LSLGC/ja|Alpha|透過}}: {{!}}{{!}} {{#ifeq:{{{1|get}}}|get|[[llGetAlpha]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llSetAlpha]]}}
{{!}}-
{{!}}-
{{!!}}{{LSLGC/ja|Color|色}}: {{!}}{{!}} {{#ifeq:{{{1|get}}}|get|[[llGetColor/ja|llGetColor]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llSetColor/ja|llSetColor]]}}
{{!!}}{{LSLGC/ja|Color|色}}: {{!}}{{!}} {{#ifeq:{{{1|get}}}|get|[[llGetColor]]}} {{!}}{{!}} {{#ifeq:{{{1|set}}}|set|[[llSetColor]]}}
{{!}}}
{{!}}}
{{!}}-
{{!}}-
{{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"}}
{{LSL ConstTB|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" {{!}} [&nbsp;[[integer/ja|integer]]&nbsp;{{LSL Param/ja|shiny}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|bump}}&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" {{!}}
Line 215: Line 379:
{{LSL_Constants/PrimitiveParams/bumpshiny/ja}}
{{LSL_Constants/PrimitiveParams/bumpshiny/ja}}
{{!}}-
{{!}}-
{{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|PRIM_FULLBRIGHT|integer|20|b=[&nbsp;|e=, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}&nbsp;]|s1=id="PRIM_FULLBRIGHT"}}
{{!}} 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;]|s1=id="PRIM_FLEXIBLE"}}
{{LSL ConstTB|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;{{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="5" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|softness}}, [[float]]&nbsp;{{LSL Param/ja|flex_float|gravity}}, [[float]]&nbsp;{{LSL Param/ja|flex_float|friction}}, [[float]]&nbsp;{{LSL Param/ja|flex_float|wind}}, [[float]]&nbsp;{{LSL Param/ja|flex_float|tension}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|force}}&nbsp;]
{{!}} colspan="3" {{!}}  
{{!}} colspan="3" {{!}}  
{{!}}-
{{!}}-
{{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"}}
{{LSL ConstTB|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|tg_type|mode}}&nbsp;]
{{!}} colspan="5" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|tg_type|mode}}&nbsp;]
{{!}} colspan="3" {{!}}  
{{!}} colspan="3" {{!}}  
Line 229: Line 393:
{{LSL Constants/PrimitiveParams/texgen/ja}}
{{LSL Constants/PrimitiveParams/texgen/ja}}
{{!}}-
{{!}}-
{{LSL ConstTB/ja|PRIM_POINT_LIGHT|integer|23|b=[&nbsp;|e=&nbsp;]|s1=id="PRIM_POINT_LIGHT"}}
{{LSL ConstTB|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="5" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|linear_color}}, [[float]]&nbsp;{{LSL Param/ja|intensity}}, [[float]]&nbsp;{{LSL Param/ja|radius}}, [[float]]&nbsp;{{LSL Param/ja|falloff}}&nbsp;]
{{!}} colspan="3" {{!}} {{LSL Param/ja|linear_color}} param accepts color in Linear space - use [[llsRGB2Linear]] to convert regular LSL {{LSL Param/ja|color}} into Linear space.
{{!}}-
{{LSL ConstTB|PRIM_REFLECTION_PROBE|integer|44|b=[&nbsp;|e=&nbsp;]|s=rowspan="4"|s1=id="PRIM_REFLECTION_PROBE"}}
{{!}} colspan="5" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}, [[float]]&nbsp;{{LSL Param/ja|ambiance}}, [[float]]&nbsp;{{LSL Param/ja|clip_distance}}, [[integer/ja|integer]]&nbsp;{{HoverText|flags|PRIM_REFLECTION_PROBE_* flags}}&nbsp;]
{{!}} colspan="3" {{!}} {{GetSet|{{{1|}}}|Gets|Sets}} the prim's reflection probe parameters.
<strong>Caveat:</strong> This parameter will be supported in the upcoming GLTF Materials project. Currently it will only work in supported testing areas with a supported test viewer.
{{!}}-
{{#var:reflection_probe_flags_rows}}
{{!}}-
{{LSL ConstTB|PRIM_GLOW|integer|25|b=[&nbsp;|e=, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}&nbsp;]|s1=id="PRIM_GLOW"}}
{{!}} colspan="5" {{!}} [ [[float]]&nbsp;{{LSL Param/ja|intensity}}&nbsp;]
{{!}} colspan="3" {{!}}  
{{!}} colspan="3" {{!}}  
{{!}}-
{{!}}-
{{LSL ConstTB/ja|PRIM_GLOW|integer|25|b=[&nbsp;|e=, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}&nbsp;]|s1=id="PRIM_GLOW"}}
{{LSL ConstTB|PRIM_OMEGA|integer|32|b=[&nbsp;|e=&nbsp;]|s1=id="PRIM_OMEGA"}}
{{!}} colspan="5" {{!}} [ [[float/ja|float]]&nbsp;{{LSL Param/ja|intensity}}&nbsp;]
{{!}} colspan="5" {{!}} [&nbsp;[[vector/ja|vector]]&nbsp;{{LSL Param/ja|axis}}, [[float]]&nbsp;{{LSL Param/ja|spinrate}}, [[float]]&nbsp;{{LSL Param/ja|gain}}&nbsp;]
{{!}} colspan="3" {{!}}  
{{!}} colspan="4" {{!}} [[llTargetOmega]]
{{!}}-
{{LSL ConstTB|PRIM_NORMAL|integer|37|b=[&nbsp;|e=, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}&nbsp;]|s1=id="PRIM_NORMAL"}}
{{!}} colspan="5" {{!}} [&nbsp;[[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]]&nbsp;{{LSL Param/ja|rotation_in_radians}}&nbsp;]
{{!}} colspan="3" {{!}}
{{!}}-
{{LSL ConstTB|PRIM_SPECULAR|integer|36|b=[&nbsp;|e=, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}&nbsp;]|s1=id="PRIM_SPECULAR"}}
{{!}} colspan="5" {{!}} [&nbsp;[[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]]&nbsp;{{LSL Param/ja|rotation_in_radians}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|color}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|glossiness}} [[integer/ja|integer]]&nbsp;{{LSL Param/ja|environment}}&nbsp;]
{{!}}-
{{LSL ConstTB|PRIM_ALPHA_MODE|integer|38|b=[&nbsp;|e=, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}&nbsp;]|s1=id="PRIM_ALPHA_MODE"}}
{{!}} colspan="5" {{!}} [&nbsp;[[integer/ja|integer]]&nbsp;{{LSL Param/ja|alpha_mode}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|mask_cutoff}}&nbsp;]
{{!}} colspan="3" {{!}}
{{!}}-
{{LSL ConstTB|PRIM_LINK_TARGET|integer|34|b=[&nbsp;|e=, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|link_target}}&nbsp;]|s1=id="PRIM_LINK_TARGET"}}
{{!}} colspan="5" {{!}} []
{{!}} colspan="4" {{!}} 複数の{{GetSet|{{{1|}}}|[[llGetLinkPrimitiveParams/ja|llGetLinkPrimitiveParams]]|[[llSetLinkPrimitiveParams/ja|llSetLinkPrimitiveParams]]}}を呼び出します。
{{!}}-
{{!}}-
{{LSL ConstTB/ja|PRIM_CAST_SHADOWS|integer|24|b=[&nbsp;<s>|e=</s>&nbsp;]|s1=id="PRIM_CAST_SHADOWS"}}
{{LSL ConstTB|PRIM_CAST_SHADOWS|integer|24|b=[&nbsp;<s>|e=</s>&nbsp;]|s1=id="PRIM_CAST_SHADOWS"}}
{{!}} colspan="2" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}&nbsp;]
{{!}} colspan="2" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}&nbsp;]
{{!}} 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|PRIM_TYPE_LEGACY|integer|1|nolink=*|c=The value is real, the name is not, merely a placeholder.}}</s>{{Footnote|handle=ptl}}
{{!}} rowspan="8" {{!}} {{#var:value}}
{{!}} rowspan="8" {{!}} {{#var:value}}
{{!}} colspan="8" {{!}} [ [[integer/ja|integer]]&nbsp;{{HoverText|flag|PRIM_TYPE_* flag}}, paramaters ]
{{!}} colspan="8" {{!}} [ [[integer/ja|integer]]&nbsp;{{HoverText|flag|PRIM_TYPE_* flag}}]&nbsp;+ flag_parameters
{{!}}-
{{!}}-
! 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/ja|PRIM_TYPE_BOX|integer|0}}
{{LSL ConstTB|PRIM_TYPE_BOX|integer|0}}
{{!}} colspan="6" {{!}} [ [[vector/ja|vector]]&nbsp;{{LSL Param/ja|cut}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|hollow}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|twist_end}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|top_size}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|top_shear}}&nbsp;]
{{!}} colspan="6" {{!}} [ [[vector/ja|vector]]&nbsp;{{LSL Param/ja|cut}}, [[float]]&nbsp;{{LSL Param/ja|hollow}}, [[float]]&nbsp;{{LSL Param/ja|twist_end}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|top_size}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|top_shear}}&nbsp;]
{{!}}-
{{!}}-
{{LSL ConstTB/ja|PRIM_TYPE_CYLINDER|integer|1}}
{{LSL ConstTB|PRIM_TYPE_CYLINDER|integer|1}}
{{!}} colspan="6" {{!}} [ [[vector/ja|vector]]&nbsp;{{LSL Param/ja|cut}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|hollow}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|twist_end}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|top_size}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|top_shear}}&nbsp;]
{{!}} colspan="6" {{!}} [ [[vector/ja|vector]]&nbsp;{{LSL Param/ja|cut}}, [[float]]&nbsp;{{LSL Param/ja|hollow}}, [[float]]&nbsp;{{LSL Param/ja|twist_end}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|top_size}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|top_shear}}&nbsp;]
{{!}}-
{{!}}-
{{LSL ConstTB/ja|PRIM_TYPE_PRISM|integer|2}}
{{LSL ConstTB|PRIM_TYPE_PRISM|integer|2}}
{{!}} colspan="6" {{!}} [ [[vector/ja|vector]]&nbsp;{{LSL Param/ja|cut}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|hollow}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|twist_end}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|top_size}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|top_shear}}&nbsp;]
{{!}} colspan="6" {{!}} [ [[vector/ja|vector]]&nbsp;{{LSL Param/ja|cut}}, [[float]]&nbsp;{{LSL Param/ja|hollow}}, [[float]]&nbsp;{{LSL Param/ja|twist_end}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|top_size}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|top_shear}}&nbsp;]
{{!}}-
{{!}}-
{{LSL ConstTB/ja|PRIM_TYPE_SPHERE|integer|3}}
{{LSL ConstTB|PRIM_TYPE_SPHERE|integer|3}}
{{!}} colspan="6" {{!}} [ [[vector/ja|vector]]&nbsp;{{LSL Param/ja|cut}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|hollow}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|cut|dimple}}&nbsp;]
{{!}} colspan="6" {{!}} [ [[vector/ja|vector]]&nbsp;{{LSL Param/ja|cut}}, [[float]]&nbsp;{{LSL Param/ja|hollow}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|cut|dimple}}&nbsp;]
{{!}}-
{{!}}-
{{LSL ConstTB/ja|PRIM_TYPE_TORUS|integer|4}}
{{LSL ConstTB|PRIM_TYPE_TORUS|integer|4}}
{{!}} colspan="6" {{!}} [ [[vector/ja|vector]]&nbsp;{{LSL Param/ja|cut}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|hollow}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|twist_end}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|hole_size_y}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|top_shear}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|cut|advanced_cut}}&nbsp;]
{{!}} colspan="6" {{!}} [ [[vector/ja|vector]]&nbsp;{{LSL Param/ja|cut}}, [[float]]&nbsp;{{LSL Param/ja|hollow}}, [[float]]&nbsp;{{LSL Param/ja|twist_end}}, [[float]]&nbsp;{{LSL Param/ja|hole_size_y}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|top_shear}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|cut|advanced_cut}}&nbsp;]
{{!}}-
{{!}}-
{{LSL ConstTB/ja|PRIM_TYPE_TUBE|integer|5}}
{{LSL ConstTB|PRIM_TYPE_TUBE|integer|5}}
{{!}} colspan="6" {{!}} [ [[vector/ja|vector]]&nbsp;{{LSL Param/ja|cut}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|hollow}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|twist_end}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|topshear_x}}&nbsp;]
{{!}} colspan="6" {{!}} [ [[vector/ja|vector]]&nbsp;{{LSL Param/ja|cut}}, [[float]]&nbsp;{{LSL Param/ja|hollow}}, [[float]]&nbsp;{{LSL Param/ja|twist_end}}, [[float]]&nbsp;{{LSL Param/ja|topshear_x}}&nbsp;]
}}
}}
{{!}}-
{{LSL ConstTB|PRIM_ALLOW_UNSIT|integer|39|b=[&nbsp;|e=&nbsp;]|s1=id="PRIM_ALLOW_UNSIT"}}
{{!}} colspan="5" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}&nbsp;]
{{!}} colspan="3" {{!}}
{{!}}-
{{LSL ConstTB|PRIM_SCRIPTED_SIT_ONLY|integer|40|b=[&nbsp;|e=&nbsp;]|s1=id="PRIM_SCRIPTED_SIT_ONLY"}}
{{!}} colspan="5" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}&nbsp;]
{{!}} colspan="3" {{!}}
{{!}}-
{{LSL ConstTB|PRIM_SIT_TARGET|integer|41|b=[&nbsp;|e=&nbsp;]|s1=id="PRIM_SIT_TARGET"}}
{{!}} colspan="5" {{!}} [ [[integer/ja|integer]]&nbsp;{{LSL Param/ja|boolean}}&nbsp;, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|pos|offset}}, [[rotation/ja|rotation]]&nbsp;{{LSL Param/ja|rot}}&nbsp;]
{{!}} colspan="3" {{!}} Sit target, [[llSitTarget]]. The position can be [[ZERO_VECTOR]].
{{!}}-
{{LSL ConstTB|PRIM_PROJECTOR|integer|42|b=[&nbsp;|e=&nbsp;]|s1=id="PRIM_PROJECTOR"}}
{{!}} colspan="5" {{!}} [ [[string/ja|string]]&nbsp;{{LSL Param/ja|texture}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|fov}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|focus}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|ambiance}}&nbsp;]
{{!}} colspan="3" {{!}} Light projector settings, the texture may be [[NULL_KEY]]. ''(Write only, for now. [https://community.secondlife.com/forums/topic/486118-only-set-ambiance-on-prim_projector/#comment-2446570 See here])''
{{!}}-
{{LSL ConstTB|PRIM_GLTF_BASE_COLOR|integer|48|b=[&nbsp;|e=, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}&nbsp;]|s1=id="PRIM_GLTF_BASE_COLOR"}}
{{!}} colspan="5" {{!}} [&nbsp;[[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}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|color}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|alpha}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|alpha_mode}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|alpha_mask_cutoff}}, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|double_sided}}&nbsp;]
{{!}} colspan="3" {{!}} {{LSL Param/ja|linear_color}} param accepts color in Linear space - use [[llsRGB2Linear/ja]] to convert regular LSL {{LSL Param/ja|color}} into Linear space.
{{Template:LSL_Constants/PrimitiveParams/gltf_caveats/ja}}
{{!}}-
{{LSL ConstTB|PRIM_GLTF_NORMAL|integer|45|b=[&nbsp;|e=, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}&nbsp;]|s1=id="PRIM_GLTF_NORMAL"}}
{{!}} colspan="5" {{!}} [&nbsp;[[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" {{!}} {{Template:LSL_Constants/PrimitiveParams/gltf_caveats/ja}}
{{!}}-
{{LSL ConstTB|PRIM_GLTF_METALLIC_ROUGHNESS|integer|47|b=[&nbsp;|e=, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}&nbsp;]|s1=id="PRIM_GLTF_METALLIC_ROUGHNESS"}}
{{!}} colspan="5" {{!}} [&nbsp;[[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}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|metallic_factor}}, [[float/ja|float]]&nbsp;{{LSL Param/ja|roughness_factor}}&nbsp;]
{{!}} colspan="3" {{!}} {{Template:LSL_Constants/PrimitiveParams/gltf_caveats/ja}}
{{!}}-
{{LSL ConstTB|PRIM_GLTF_EMISSIVE|integer|46|b=[&nbsp;|e=, [[integer/ja|integer]]&nbsp;{{LSL Param/ja|face}}&nbsp;]|s1=id="PRIM_GLTF_EMISSIVE"}}
{{!}} colspan="5" {{!}} [&nbsp;[[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}}, [[vector/ja|vector]]&nbsp;{{LSL Param/ja|emissive_tint}}&nbsp;]
{{!}} colspan="3" {{!}} {{LSL Param/ja|emissive_tint}} param accepts color in Linear space - use [[llsRGB2Linear/ja]] to convert regular LSL {{LSL Param/ja|color}} into Linear space.
{{Template:LSL_Constants/PrimitiveParams/gltf_caveats/ja}}
{{!}}-
{{!}}-
{{!}}}
{{!}}}

Latest revision as of 00:27, 8 October 2023

フラグ 説明 使い方
PRIM_NAME 27 プリムの名前を設定します。 PRIM_NAME, string name ]
PRIM_DESC 28 プリムの説明を設定します。 PRIM_DESC, string description ]
PRIM_TYPE 9 プリムの形状を設定します。 PRIM_TYPE, integer flag ] + flag_parameters
PRIM_SLICE 35 プリム属性のスライスを設定します。 PRIM_SLICE, vector slice ]
PRIM_PHYSICS_SHAPE_TYPE 30 プリムの物理形状タイプを設定します。 PRIM_PHYSICS_SHAPE_TYPE, integer type ]
PRIM_MATERIAL 2 プリムの素材を設定します。 PRIM_MATERIAL, integer flag ]
PRIM_PHYSICS 3 プリムの物理状態を設定します。 PRIM_PHYSICS, integer boolean ]
PRIM_TEMP_ON_REZ 4 臨時 属性を設定します。 PRIM_TEMP_ON_REZ, integer boolean ]
PRIM_PHANTOM 5 オブジェクトのファントム状態を設定します。 PRIM_PHANTOM, integer boolean ]
PRIM_POSITION 6 プリムの位置を設定します。 PRIM_POSITION, vector position ]
PRIM_POS_LOCAL 33 プリムのローカル位置を設定します。 PRIM_POS_LOCAL, vector position ]
PRIM_ROTATION 8 プリムの回転を設定します。 PRIM_ROTATION, rotation rot ]
PRIM_ROT_LOCAL 29 プリムのローカル回転を設定します。 PRIM_ROT_LOCAL, rotation rot ]
PRIM_SIZE 7 プリムの大きさを設定します。 PRIM_SIZE, vector size ]
PRIM_TEXTURE 17 プリムのテキスチャ属性を設定します。 PRIM_TEXTURE, integer face, string texture, vector repeats, vector offsets, float rotation_in_radians ]
PRIM_RENDER_MATERIAL 43 プリムのrender_materialを設定します。 Setting this param will also clear most PRIM_GLTF_* properties on the face, with the exceptions of repeats, offsets, and rotation_in_radians

Caveat: This parameter will be supported in the upcoming GLTF Materials project. Currently it will only work in supported testing areas with a supported test viewer.

PRIM_RENDER_MATERIAL, integer face, string render_material ]
PRIM_TEXT 26 プリムのフローティングテキストを設定します。 PRIM_TEXT, string text, vector color, float alpha ]
PRIM_COLOR 18 面の色を設定します。 PRIM_COLOR, integer face, vector color, float alpha ]
PRIM_BUMP_SHINY 19 面の輝きと凹凸を設定します。 PRIM_BUMP_SHINY, integer face, integer shiny, integer bump ]
PRIM_POINT_LIGHT 23 プリムをポイントライトとして設定します。 PRIM_POINT_LIGHT, integer boolean, vector linear_color, float intensity, float radius, float falloff ]
PRIM_REFLECTION_PROBE 44 プリムのリフレクションプローブを設定します

Caveat: This parameter will be supported in the upcoming GLTF Materials project. Currently it will only work in supported testing areas with a supported test viewer.

PRIM_REFLECTION_PROBE, integer boolean, float ambiance, float clip_distance, integer flags ]
PRIM_FULLBRIGHT 20 表面の明るさ全開フラグを設定します。 PRIM_FULLBRIGHT, integer face, integer boolean ]
PRIM_FLEXIBLE 21 プリムをフレキシブルに設定します。 PRIM_FLEXIBLE, integer boolean, integer softness, float gravity, float friction, float wind, float tension, vector force ]
PRIM_TEXGEN 22 表面のテクスチャモードを設定します。 PRIM_TEXGEN, integer face, integer type ]
PRIM_GLOW 25 表面のグロー属性を設定します。 PRIM_GLOW, integer face, float intensity ]
PRIM_OMEGA 32 プリムの回転軸と回転速度を設定します。 PRIM_OMEGA, vector axis, float spinrate, float gain ]
PRIM_NORMAL 37 ノーマルマップを設定します PRIM_NORMAL, integer face, string texture, vector repeats, vector offsets, float rotation_in_radians ]
PRIM_SPECULAR 36 スペキュラーマップを設定します PRIM_SPECULAR, integer face, string texture, vector repeats, vector offsets, float rotation_in_radians, vector color, integer glossiness, integer environment ]
PRIM_ALPHA_MODE 38 アルファーレンダリングモードを設定します PRIM_ALPHA_MODE, integer face, integer alpha_mode, integer mask_cutoff ]
PRIM_LINK_TARGET 34 リンクセットの中で使用するリンク番号を設定します。 PRIM_LINK_TARGET, integer link_target ]
PRIM_CAST_SHADOWS 24 プリムのキャストシャドウ属性を設定します。(廃止予定) PRIM_CAST_SHADOWS, integer boolean ]
PRIM_TYPE_LEGACY[1] 1 プリムの形状を設定します。(レガシー項目, 廃止予定) [ 1, integer flag ] + flag_parameters
PRIM_ALLOW_UNSIT 39 Avatars are allowed to manually stand up when seated on this prim. Only valid for prims in a valid experience. [ PRIM_ALLOW_UNSIT, integer boolean ]
PRIM_SCRIPTED_SIT_ONLY 40 Avatars are not permitted to manually sit on this prim. [ PRIM_SCRIPTED_SIT_ONLY, integer boolean ]
PRIM_SIT_TARGET 41 The sit target, if any defined for this prim. [ PRIM_SIT_TARGET, integer boolean, vector offset, rotation rot ]
PRIM_PROJECTOR 42 Light projector settings for this prim. [ PRIM_PROJECTOR, string texture, float fov, float focus, float ambiance ]
PRIM_GLTF_BASE_COLOR 48 Sets the prim's GLTF Material Base Color map attributes.

This parameter's arguments are GLTF overrides.
Caveat: This parameter will be supported in the upcoming GLTF Materials project. Currently it will only work in supported testing areas with a supported test viewer.

[ PRIM_GLTF_BASE_COLOR, integer face, string texture, vector repeats, vector offsets, float rotation_in_radians, vector linear_color, float alpha, integer alpha_mode, float alpha_mask_cutoff, integer double_sided ]
PRIM_GLTF_NORMAL 45 Sets the prim's GLTF Material Normal map attributes.

This parameter's arguments are GLTF overrides.
Caveat: This parameter will be supported in the upcoming GLTF Materials project. Currently it will only work in supported testing areas with a supported test viewer.

[ PRIM_GLTF_NORMAL, integer face, string texture, vector repeats, vector offsets, float rotation_in_radians ]
PRIM_GLTF_METALLIC_ROUGHNESS 47 Sets the prim's GLTF ORM map attributes (Occlusion, Roughness, Metallic).

This parameter's arguments are GLTF overrides.
Caveat: This parameter will be supported in the upcoming GLTF Materials project. Currently it will only work in supported testing areas with a supported test viewer.

[ PRIM_GLTF_METALLIC_ROUGHNESS, integer face, string texture, vector repeats, vector offsets, float rotation_in_radians, float metallic_factor, float roughness_factor ]
PRIM_GLTF_EMISSIVE 46 Sets the prim's GLTF Material Emissive map attributes.

This parameter's arguments are GLTF overrides.
Caveat: This parameter will be supported in the upcoming GLTF Materials project. Currently it will only work in supported testing areas with a supported test viewer.

[ PRIM_GLTF_EMISSIVE, integer face, string texture, vector repeats, vector offsets, float rotation_in_radians, vector emissive_tint ]
パラメータ 返り値 / 付与パラメータ 説明
PRIM_NAME ] 27 [ string name ] プリムの名前を取得 / 設定します。
PRIM_DESC ] 28 [ string description ] プリムの説明を取得 / 設定します。
PRIM_TYPE ] 9 [ integer flag ] + flag_parameters プリムの形状を取得 / 設定します。
フラグ定数 追加の戻り値 / フラグパラメータ
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_SLICE ] 35 [ vector slice ] プリム属性のスライスを取得 / 設定します。
PRIM_PHYSICS_SHAPE_TYPE ] 30 [ integer type ] プリムの物理形状タイプを取得 / 設定します。
typeフラグ 説明 ノート
PRIM_PHYSICS_SHAPE_PRIM 0 ノーマルプリム形状の物理に使います メッシュでないオブジェクトのデフォルト値です
PRIM_PHYSICS_SHAPE_CONVEX 2 プリムの凸包形状の物理に使います メッシュオブジェクトのデフォルト値です
PRIM_PHYSICS_SHAPE_NONE 1 プリムの物理形状を無視します これをルートプリム、アバターに適用することはできません

このプリムは、他のオブジェクトやアバターが衝突せずに通り抜けます("ファントム"のように)

PRIM_MATERIAL ] 2 [ integer material ] プリムの素材を取得 / 設定します。素材は標準の 衝突音スプライト を決定します。 friction coefficient and restitution coefficient.
素材 フラグ 説明 摩擦 反発
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
PRIM_MATERIAL_LIGHT 7 光, 非推奨: [ PRIM_FULLBRIGHT, ALL_SIDES, TRUE ] と同じように見えます 0.6 0.5
PRIM_PHYSICS ] 3 [ integer boolean ] 物理状態を取得 / 設定します。
PRIM_TEMP_ON_REZ ] 4 [ integer boolean ] テンポラリ属性
PRIM_PHANTOM ] 5 [ integer boolean ] ファントム状態を取得 / 設定します。
PRIM_POSITION ] 6 [ vector position ] 位置を取得 / 設定します。
PRIM_POS_LOCAL ] 33 [ vector position ] ローカル位置を取得 / 設定します。
PRIM_ROTATION ] 8 [ rotation rot ] 回転を取得 / 設定します。(子プリムでは壊れています)
PRIM_ROT_LOCAL ] 29 [ rotation rot ] ローカル回転を取得 / 設定します。
PRIM_SIZE ] 7 [ vector size ] 大きさを取得 / 設定します。
PRIM_TEXTURE, integer face ] 17 [ string texture, vector repeats, vector offsets, float rotation_in_radians ]
テクスチャ: llGetTexture llSetTexture
繰り返し: llGetTextureScale llScaleTexture
オフセット: llGetTextureOffset llOffsetTexture
回転: llGetTextureRot llRotateTexture
PRIM_RENDER_MATERIAL, integer face ] 43 [ string render_material ]

Caveat: This parameter will be supported in the upcoming GLTF Materials project. Currently it will only work in supported testing areas with a supported test viewer.

マテリアル: llGetRenderMaterial llSetRenderMaterial
PRIM_TEXT ] 26 [ string text, vector color, float alpha ] Floating Text: NA / llSetText
PRIM_COLOR, integer face ] 18 [ vector color, float alpha ]
透過: llGetAlpha llSetAlpha
: llGetColor llSetColor
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 gravity, float friction, float wind, float tension, vector force ]
PRIM_TEXGEN, integer face ] 22 [ integer mode ]
モード定数 説明
PRIM_TEXGEN_DEFAULT 0
PRIM_TEXGEN_PLANAR 1
PRIM_POINT_LIGHT ] 23 [ integer boolean, vector linear_color, float intensity, float radius, float falloff ] linear_color param accepts color in Linear space - use llsRGB2Linear to convert regular LSL color into Linear space.
PRIM_REFLECTION_PROBE ] 44 [ integer boolean, float ambiance, float clip_distance, integer flags ] Gets / Sets the prim's reflection probe parameters.

Caveat: This parameter will be supported in the upcoming GLTF Materials project. Currently it will only work in supported testing areas with a supported test viewer.

type Flags V Description Notes
PRIM_REFLECTION_PROBE_BOX/ja 1 Determines if the reflection probe is a box or a sphere. Unset by default (probe is a sphere)
PRIM_REFLECTION_PROBE_DYNAMIC/ja 2 Determines if avatars are included by the probe for imaging. Unset by default (probe does not image avatars). Imaging avatars in probes has a performance cost.
PRIM_GLOW, integer face ] 25 [ float intensity ]
PRIM_OMEGA ] 32 vector axis, float spinrate, float gain ] llTargetOmega
PRIM_NORMAL, integer face ] 37 string texture, vector repeats, vector offsets, float rotation_in_radians ]
PRIM_SPECULAR, integer face ] 36 string texture, vector repeats, vector offsets, float rotation_in_radians, vector color, integer glossiness integer environment ]
PRIM_ALPHA_MODE, integer face ] 38 integer alpha_mode, integer mask_cutoff ]
34 [] 複数のllGetLinkPrimitiveParams / llSetLinkPrimitiveParamsを呼び出します。
PRIM_CAST_SHADOWS ] 24 [ integer boolean ] 廃止予定: プリミティブに影を割り付ける
[ 1 ]
PRIM_TYPE_LEGACY[1]
1 [ integer flag] + flag_parameters
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 ]
PRIM_ALLOW_UNSIT ] 39 [ integer boolean ]
PRIM_SCRIPTED_SIT_ONLY ] 40 [ integer boolean ]
PRIM_SIT_TARGET ] 41 [ integer boolean , vector offset, rotation rot ] Sit target, llSitTarget. The position can be ZERO_VECTOR.
PRIM_PROJECTOR ] 42 [ string texture, float fov, float focus, float ambiance ] Light projector settings, the texture may be NULL_KEY. (Write only, for now. See here)
PRIM_GLTF_BASE_COLOR, integer face ] 48 string texture, vector repeats, vector offsets, float rotation_in_radians, vector color, float alpha, integer alpha_mode, float alpha_mask_cutoff, integer double_sided ] linear_color param accepts color in Linear space - use llsRGB2Linear/ja to convert regular LSL color into Linear space.

This parameter's arguments are GLTF overrides.
Caveat: This parameter will be supported in the upcoming GLTF Materials project. Currently it will only work in supported testing areas with a supported test viewer.

PRIM_GLTF_NORMAL, integer face ] 45 string texture, vector repeats, vector offsets, float rotation_in_radians ] This parameter's arguments are GLTF overrides.


Caveat: This parameter will be supported in the upcoming GLTF Materials project. Currently it will only work in supported testing areas with a supported test viewer.

PRIM_GLTF_METALLIC_ROUGHNESS, integer face ] 47 string texture, vector repeats, vector offsets, float rotation_in_radians, float metallic_factor, float roughness_factor ] This parameter's arguments are GLTF overrides.


Caveat: This parameter will be supported in the upcoming GLTF Materials project. Currently it will only work in supported testing areas with a supported test viewer.

PRIM_GLTF_EMISSIVE, integer face ] 46 string texture, vector repeats, vector offsets, float rotation_in_radians, vector emissive_tint ] emissive_tint param accepts color in Linear space - use llsRGB2Linear/ja to convert regular LSL color into Linear space.

This parameter's arguments are GLTF overrides.
Caveat: This parameter will be supported in the upcoming GLTF Materials project. Currently it will only work in supported testing areas with a supported test viewer.

警告

  • texture がプリムの中で見つからない場合、かつこれが UUID でない場合、またはこれがtextureでない場合、エラーが DEBUG_CHANNEL 上で叫ばれます。
  • textureUUID である場合、オブジェクト自体に新たな アセット権限 が発生するようなことはありません。
    • アセットをプリムのインベントリの中に置いた場合、これまで発生していた使用制限は新しいオブジェクトで新たに作成されません。
  • If render_material is missing from the prim's inventory and it is not a UUID or it is not a material then an error is shouted on DEBUG_CHANNEL.
  • If render_material 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.
  • ストレージ媒体として フローティングテキスト の機能が使えると思わないでください。これは不完全ですし、安全なものでもありません。
    • フローティングテキストはサーバの更新時に変更になったことが過去にあり、その際に既に設定されている内容は消去されていました。将来も変更が発生する可能性があります。
    • 「不可視」[2] のフローティングテキストもクライアントに送信されます。
      • 不可視にしているテキストを表示することのできるクライアントを持っている人が見れてしまう可能性があります。
      • テキストが含まれている通信パケットが盗聴され、テキストが読まれる可能性があります。
  • top_size とクライアントの値は異なります。範囲は一致しておらず、変換が必要です。シンプルな計算式は、結果 = 1.0 - value です。詳細は top_size Explained をご覧ください。
  • map がプリムの中で見つからない場合、かつこれが UUID でない場合、またはこれがtextureでない場合、エラーが DEBUG_CHANNEL 上で叫ばれます。
  • mapUUID である場合、オブジェクト自体に新たな アセット権限 が発生するようなことはありません。
    • アセットをプリムのインベントリの中に置いた場合、これまで発生していた使用制限は新しいオブジェクトで新たに作成されません。
  • PRIM_OMEGA/ja on nonphysical objects, and child prims of physical objects, is only a client side effect; the object or prim will collide as non-moving geometry.
  • PRIM_OMEGA/ja cannot be used on avatars sitting on the object. It will emit the error message "PRIM_OMEGA disallowed on agent".
  • If PRIM_OMEGA/ja does not appear to be working, make sure that that Develop > Network > Velocity Interpolate Objects is enabled on the viewer.
  • In the parameters returned by llGetPrimitiveParams([PRIM_OMEGA/ja]), the vector is normalized, and the spinrate is multiplied by the magnitude of the original vector.
  • 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.
  • To clear the normal map parameters from the face (and possibly remove the material), set texture to NULL_KEY (the other parameters must be supplied in this case but will be ignored).
  • Note that whenever any face in a linkset contains a material (i.e. has a non-default PRIM_NORMAL, PRIM_SPECULAR, or PRIM_ALPHA_MODE), the linkset will use the new accounting system.
  • 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.
  • texture がプリムの中で見つからない場合、かつこれが UUID でない場合、またはこれがtextureでない場合、エラーが DEBUG_CHANNEL 上で叫ばれます。
  • textureUUID である場合、オブジェクト自体に新たな アセット権限 が発生するようなことはありません。
    • アセットをプリムのインベントリの中に置いた場合、これまで発生していた使用制限は新しいオブジェクトで新たに作成されません。
  • 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.
  • To clear the specular map parameters from the face (and possibly remove the material), set texture to NULL_KEY (the other parameters must be supplied in this case but will be ignored).
  • Note that whenever any face in a linkset contains a material (i.e. has a non-default PRIM_NORMAL, PRIM_SPECULAR, or PRIM_ALPHA_MODE), the linkset will use the new accounting system.
  • 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.
  • If PRIM_LINK_TARGET's link_target describes a seated avatar...
  • faceALL_SIDES であれば flag は全ての面に作用します。
  • face が存在しない面を指している場合、 flag の結果は nothing. です。