|
|
(39 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| | <noinclude>__NOTOC__</noinclude> |
| {{#if: | | {{#if: |
| | <!-- TRM push --> |
| | {{#vardefine:TRMS|{{#var:TRM}}{{#var:TRMS}}}} {{#vardefine:TRM|P}} {{#vardefine:PPC-1| {{{1|}}} }}{{#vardefine:PPC-2| {{{2|}}} }} |
| | {{#vardefine:PATH|User:Strife_Onizuka/}} |
|
| |
|
| {{:PRIM_NAME|{{{1|}}}}} | | {{#if:{{{2|}}}| |
| {{:PRIM_DESC|{{{1|}}}}}
| | {{LSL_Function/link|{{{2|}}}|nogroup=*}} |
| {{:PRIM_COLOR|{{{1|}}}}} | | }} |
| {{:PRIM_GLOW|{{{1|}}}}}
| | |
| {{:PRIM_TEXTURE|{{{1|}}}}}
| | {{LSL_Function/color|color}} |
| {{:PRIM_TEXT|{{{1|}}}}}
| | {{LSL_Function/alpha|alpha}} |
| {{:PRIM_FULLBRIGHT|{{{1|}}}}}
| | {{LSL_Function/boolean|boolean}} |
| {{:PRIM_TEXGEN|{{{1|}}}}}
| | {{LSL_Function/face|face|flag|!footer=*|return=nothing.}} |
| {{:PRIM_BUMP_SHINY|{{{1|}}}}} | |
| {{:PRIM_MATERIAL|{{{1|}}}}} | |
| {{:PRIM_TYPE|{{{1|}}}}} | |
| {{:PRIM_TYPE_BOX|{{{1|}}}}} | |
| {{:PRIM_TYPE_SCULPT|{{{1|}}}}}
| |
| {{:PRIM_PHANTOM|{{{1|}}}}}
| |
| {{:PRIM_TEMP_ON_REZ|{{{1|}}}}}
| |
| {{:PRIM_PHYSICS|{{{1|}}}}}
| |
| {{:PRIM_SIZE|{{{1|}}}}}
| |
| {{:PRIM_POSITION|{{{1|}}}}}
| |
| {{:PRIM_ROTATION|{{{1|}}}}}
| |
| {{:PRIM_ROT_LOCAL|{{{1|}}}}}
| |
| {{:PRIM_FLEXIBLE|{{{1|}}}}}
| |
| {{:PRIM_POINT_LIGHT|{{{1|}}}}}
| |
|
| |
|
| }}{{{!}} class="sortable" width="100%" {{Prettytable|style=margin: 0px 0px 10px 1pt;}} | | }}{{{!}} class="sortable" width="100%" {{Prettytable|style=margin: 0px 0px 10px 1pt;}} |
| {{!}}- {{Hl2}} style="white-space:nowrap;" | | {{!}}- {{Hl2}} style="white-space:nowrap;" |
| ! class="sortable" {{!}}Flag
| |
| ! class="sortable" title="Value" style="cursor: help;" {{!}}<span style="border-bottom: 1px dotted;">V</span> | | ! class="sortable" title="Value" style="cursor: help;" {{!}}<span style="border-bottom: 1px dotted;">V</span> |
| ! class="sortable" width="100%" {{!}}Description & Usage | | {{#ifeq:{{{1|}}}|get| |
| | ! class="sortable" {{!}} Request Format |
| | ! class="unsortable" style="display:none;" {{!}} |
| | ! class="unsortable" width="70%" {{!}} Parameters Returned |
| | | |
| | ! class="sortable" {{!}} Flag |
| | ! class="unsortable" style="display:none;" {{!}} |
| | ! class="unsortable" width="70%" {{!}} Parameters Returned |
| | }} |
| | ! class="sortable" width="30%" {{!}} Scope |
| {{!}}- | | {{!}}- |
| {{PPC|[[#PRIM_NAME|PRIM_NAME]]|27|Sets the prim's name.|[ {{#var:name_const}}, [[string]] {{LSL Param|name}} ]}} | | {{{{#var:PATH}}PRIM_NAME|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{PPC|[[#PRIM_DESC|PRIM_DESC]]|28|Sets the prim's description.|[ {{#var:desc_const}}, [[string]] {{LSL Param|description}} ]}} | | {{{{#var:PATH}}PRIM_DESC|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{PPC|[[#PRIM_TYPE|PRIM_TYPE]]|9|Sets the prim's shape.|[ {{#var:type_const}}, [[integer]] {{HoverText|flag|PRIM_TYPE_* flag}} ] + {{HoverText|flag_parameters|Additional parameters required by the flag, click [show]}}|content={{PBR}}
| | {{{{#var:PATH}}PRIM_TEXT|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{{!}} {{Prettytable|style=margin:0 0 0 0; padding:0;}} | | {{{{#var:PATH}}PRIM_TYPE|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{LSL Constants/PrimitiveParams/type|{{{1|}}}}}
| | |
| {{!}}} }} | | {{{{#var:PATH}}PRIM_PHYSICS|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{PPC|[[#PRIM_MATERIAL|PRIM_MATERIAL]]|2|Sets the prim's material.|[ {{#var:material_const}}, [[integer]] {{HoverText|flag|PRIM_MATERIAL_* flag}} ]|content={{PBR}} | | {{{{#var:PATH}}PRIM_PHANTOM|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{{!}} {{Prettytable|style=margin:0 0 0 0; padding:0;}}
| | {{{{#var:PATH}}PRIM_TEMP_ON_REZ|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{LSL Constants/PrimitiveParams/materials}} | | {{{{#var:PATH}}PRIM_MATERIAL|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{!}}} }} | | |
| {{PPC|[[#PRIM_PHYSICS|PRIM_PHYSICS]]|3|Sets the object's physics status.|[ {{#var:physics_const}}, [[integer]] {{LSL Param|boolean}} ]|content=}}
| | {{{{#var:PATH}}PRIM_SIZE|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{PPC|[[#PRIM_TEMP_ON_REZ|PRIM_TEMP_ON_REZ]]|4|Sets the object's {{LSLGC|Temporary|temporary}} attribute.|[ {{#var:temponrez_const}}, [[integer]] {{LSL Param|boolean}} ]|content=}} | | {{{{#var:PATH}}PRIM_POSITION|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{PPC|[[#PRIM_PHANTOM|PRIM_PHANTOM]]|5|Sets the object's phantom status.|[ {{#var:phantom_const}}, [[integer]] {{LSL Param|boolean}} ]|content=}} | | {{{{#var:PATH}}PRIM_ROTATION|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{PPC|[[#PRIM_POSITION|PRIM_POSITION]]|6|Sets the prim's position.|[ {{#var:position_const}}, [[vector]] {{LSL Param|position{{{1|}}}|position}} ]|content=}} | | {{{{#var:PATH}}PRIM_ROT_LOCAL|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{PPC|[[#PRIM_ROTATION|PRIM_ROTATION]]|8|Sets the prim's global rotation.|[ {{#var:rotation_const}}, [[rotation]] {{LSL Param|rot}} ]|content=}}
| | |
| {{PPC|[[#PRIM_ROT_LOCAL|PRIM_ROT_LOCAL]]|29|Sets the prim's local rotation.|[ {{#var:rot_local_const}}, [[rotation]] {{LSL Param|rot}} ]|content=}} | | {{{{#var:PATH}}PRIM_FLEXIBLE|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{PPC|[[#PRIM_SIZE|PRIM_SIZE]]|7|Sets the prim's size.|[ {{#var:size_const}}, [[vector]] {{LSL Param|size}} ]|content=}}
| | {{{{#var:PATH}}PRIM_POINT_LIGHT|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{PPC|[[#PRIM_TEXTURE|PRIM_TEXTURE]]|17|Sets the prim's texture attributes.|[ {{#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}} ]|content=}} | | |
| {{PPC|[[#PRIM_TEXT|PRIM_TEXT]]|26|Sets the prim's floating text.|[ {{#var:text_const}}, [[string]] {{LSL Param|text}}, [[vector]] {{LSL Param|color}}, [[float]] {{LSL Param|alpha}} ]|content=}} | | {{{{#var:PATH}}PRIM_TEXTURE|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{PPC|[[#PRIM_COLOR|PRIM_COLOR]]|18|Sets the face's color.|[ {{#var:color_const}}, [[integer]] {{LSL Param|face}}, [[vector]] {{LSL Param|color}}, [[float]] {{LSL Param|alpha}} ]|content=}} | | {{{{#var:PATH}}PRIM_TEXGEN|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{PPC|[[#PRIM_BUMP_SHINY|PRIM_BUMP_SHINY]]|19|Sets the face's shiny & bump.|[ {{#var:bumpshiny_const}}, [[integer]] {{LSL Param|face}}, [[integer]] {{LSL Param|shiny}}, [[integer]] {{LSL Param|bump}} ]|content={{PBR}} | | {{{{#var:PATH}}PRIM_COLOR|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{{!}} {{Prettytable|style=margin:0 0 0 0; padding:0;}} | | {{{{#var:PATH}}PRIM_GLOW|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{LSL_Constants/PrimitiveParams/bumpshiny}} | | {{{{#var:PATH}}PRIM_FULLBRIGHT|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{!}}} }} | | {{{{#var:PATH}}PRIM_BUMP_SHINY|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{PPC|[[#PRIM_POINT_LIGHT|PRIM_POINT_LIGHT]]|23|Sets the prim as a point light.|[ {{#var:light_const}}, [[integer]] {{LSL Param|boolean}}, [[vector]] {{LSL Param|color}}, [[float]] {{LSL Param|intensity}}, [[float]] {{LSL Param|radius}}, [[float]] {{LSL Param|falloff}} ]|content=}} | | |
| {{PPC|[[#PRIM_FULLBRIGHT|PRIM_FULLBRIGHT]]|20|Sets the face's full bright flag.|[ {{#var:fullbright_const}}, [[integer]] {{LSL Param|face}}, [[integer]] {{LSL Param|boolean}} ]|content=}} | |
| {{PPC|[[#PRIM_FLEXIBLE|PRIM_FLEXIBLE]]|21|Sets the prim as flexible.|[ {{#var:flexible_const}}, [[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}} ]|content=}}
| |
| {{PPC|[[#PRIM_TEXGEN|PRIM_TEXGEN]]|22|Sets the face's texture mode.|[ {{#var:texgen_const}}, [[integer]] {{LSL Param|face}}, [[integer]] {{HoverText|type|PRIM_TEXGEN_* flag}} ]|content={{PBR}} | |
| {{{!}} {{Prettytable|style=margin:0 0 0 0; padding:0;}}
| |
| {{LSL Constants/PrimitiveParams/texgen}} | |
| {{!}}} }} | |
| {{PPC|[[#PRIM_GLOW|PRIM_GLOW]]|25|Sets the face's glow attribute.|[ {{#var:glow_const}}, [[integer]] {{LSL Param|face}}, [[float]] {{LSL Param|intensity}} ]|content=}}
| |
| {{PPC|[[#PRIM_CAST_SHADOWS|PRIM_CAST_SHADOWS]]|24|Sets the prim's cast shadow attribute. ('''DEPRECATED''')|[ {{LSL Const|PRIM_CAST_SHADOWS|integer|24}}, [[integer]] {{LSL Param|boolean}} ]|content=}} | |
| {{PPC|[[#PRIM_TYPE_LEGACY|PRIM_TYPE_LEGACY]]|1|Sets the prim's shape (legacy mode, '''DEPRECATED''').|[ 1, [[integer]] {{HoverText|flag|PRIM_TYPE_* flag}} ] + {{HoverText|flag_parameters|Additional parameters required by the flag, click [show]}}|content={{PBR}} | |
| {{{!}} {{Prettytable|style=margin:0 0 0 0; padding:0;}}
| |
| ! colspan="2" {{!}} {{HoverText|flag|PRIM_TYPE_* flag}} Constants
| |
| ! colspan="6" id="PRIM_TYPE_LEGACY_flag_parameters"{{!}} Flag Parameters
| |
| {{!}}- | | {{!}}- |
| {{LSL ConstTB|PRIM_TYPE_BOX|integer|0}} | | {{!}}}{{#if: |
| {{!}} 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}} ] | | |
| {{!}}- | | <!-- TRM restore --> |
| {{LSL ConstTB|PRIM_TYPE_CYLINDER|integer|1}}
| | {{#vardefine:TRM|{{#sub:{{#var:TRMS}}|0|1}}}} {{#vardefine:TRMS|{{#sub:{{#var:TRMS}}|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}} ]
| | |
| {{!}}-
| | }}<noinclude> |
| {{LSL ConstTB|PRIM_TYPE_PRISM|integer|2}} | | {{{{FULLPAGENAME}}|get}} |
| {{!}} 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}} ] | | |
| {{!}}-
| | {| {{Prettytable}} |
| {{LSL ConstTB|PRIM_TYPE_SPHERE|integer|3}} | | |-{{Hl2}} |
| {{!}} colspan="6" {{!}} [ [[vector]] {{LSL Param|cut}}, [[float]] {{LSL Param|hollow}}, [[vector]] {{LSL Param|cut|dimple}} ] | | ! #var |
| {{!}}-
| | ! value |
| {{LSL ConstTB|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}} ]
| | {{VarPair|ALL_SIDES}} |
| {{!}}-
| | |- |
| {{LSL ConstTB|PRIM_TYPE_TUBE|integer|5}} | | {{VarPair|p_face_desc}} |
| {{!}} colspan="6" {{!}} [ [[vector]] {{LSL Param|cut}}, [[float]] {{LSL Param|hollow}}, [[float]] {{LSL Param|twist_end}}, [[float]] {{LSL Param|topshear_x}} ]
| | |- |
| {{!}}} }}
| | {{VarPair|p_face_hover}} |
| {{!}}}
| | |- |
| | {{VarPair|p_boolean_desc}} |
| | |- |
| | {{VarPair|p_boolean_hover}} |
| | |- |
| | {{VarPair|p_alpha_desc}} |
| | |- |
| | {{VarPair|p_alpha_hover}} |
| | |- |
| | {{VarPair|p_color_desc}} |
| | |- |
| | {{VarPair|p_color_hover}} |
| | |- |
| | {{VarPair|facechoise}} |
| | |- |
| | {{VarPair|header_footnote}} |
| | |- |
| | {{VarPair|caveats}} |
| | |- |
| | {{VarPair|notes}} |
| | |- |
| | {{VarPair|spec}} |
| | |- |
| | {{VarPair|deepnotes}} |
| | |} |
| | </noinclude> |