|
|
(5 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| | <noinclude>__NOTOC__</noinclude> |
| {{#if: | | {{#if: |
|
| |
| <!-- TRM push --> | | <!-- TRM push --> |
| {{#vardefine:TRMS|{{#var:TRM}}{{#var:TRMS}}}} {{#vardefine:TRM|P}} {{#vardefine:PPC-1| {{{1|}}} }} | | {{#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|}}}}}
| |
| {{:PRIM_TEXT|{{{1|}}}}}
| |
| {{:PRIM_FULLBRIGHT|{{{1|}}}}} | |
| {{:PRIM_TEXGEN|{{{1|}}}}}
| |
| {{: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|}}}}}
| |
|
| |
|
| {{LSL_Function/color|color}} | | {{LSL_Function/color|color}} |
| {{LSL_Function/alpha|alpha}} | | {{LSL_Function/alpha|alpha}} |
| {{LSL_Function/boolean|boolean}} | | {{LSL_Function/boolean|boolean}} |
| {{LSL_Function/face|face|flag|!footer=*|return={{#ifeq:{{{1|get}}}|get|... | | {{LSL_Function/face|face|flag|!footer=*|return=nothing.}} |
| :{{{!}}{{Prettytable}}
| |
| {{!}}-{{Hl2}}
| |
| !{{HoverText|flag|PRIM_* flag}}
| |
| !Return if face is invalid
| |
| {{!}}-
| |
| {{#var:facetable}}
| |
| {{!}}-
| |
| {{!}}}
| |
| }}}}
| |
| -->
| |
|
| |
|
| }}{{{!}} class="sortable" width="100%" {{Prettytable|style=margin: 0px 0px 10px 1pt;}} | | }}{{{!}} class="sortable" width="100%" {{Prettytable|style=margin: 0px 0px 10px 1pt;}} |
Line 56: |
Line 28: |
| ! class="sortable" width="30%" {{!}} Scope | | ! class="sortable" width="30%" {{!}} Scope |
| {{!}}- | | {{!}}- |
| {{User:Strife_Onizuka/PRIM_NAME|{{#var:PPC-1}}}} | | {{{{#var:PATH}}PRIM_NAME|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{User:Strife_Onizuka/PRIM_DESC|{{#var:PPC-1}}}}
| | {{{{#var:PATH}}PRIM_DESC|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{User:Strife_Onizuka/PRIM_TYPE|{{#var:PPC-1}}}} | | {{{{#var:PATH}}PRIM_TEXT|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| <!--{{PPC|{{{1|}}}|PRIM_MATERIAL|const={{#var:material_const}}|value=2|scope=prim|attr=material|[[integer]] {{HoverText|flag|PRIM_MATERIAL_* flag}} ]|content={{PBR}}
| | {{{{#var:PATH}}PRIM_TYPE|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{LSL Constants/PrimitiveParams/materials|{{{1|}}}|style=margin:0 0 0 0; padding:0;|table=*|sortable=*}} }} | | |
| {{PPC|{{{1|}}}|PRIM_PHYSICS|const={{#var:physics_const}}|value=3|scope=object|qualifier=status|attr=physics|[[integer]] {{LSL Param|boolean}} ]|content=}} | | {{{{#var:PATH}}PRIM_PHYSICS|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{PPC|{{{1|}}}|PRIM_TEMP_ON_REZ|const={{#var:temponrez_const}}|value=4|scope=object|attr=temporary|[[integer]] {{LSL Param|boolean}} ]|content=}} | | {{{{#var:PATH}}PRIM_PHANTOM|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{PPC|{{{1|}}}|PRIM_PHANTOM|const={{#var:phantom_const}}|value=5|scope=object|qualifier=status|attr=phantom|[[integer]] {{LSL Param|boolean}} ]|content=}} | | {{{{#var:PATH}}PRIM_TEMP_ON_REZ|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{PPC|{{{1|}}}|PRIM_POSITION|const={{#var:position_const}}|value=6|scope=prim|attr=position|[[vector]] {{LSL Param|position{{{1|}}}|position}} ]|content=}}
| | {{{{#var:PATH}}PRIM_MATERIAL|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{PPC|{{{1|}}}|PRIM_ROTATION|const={{#var:rotation_const}}|value=8|scope=prim|qualifier=rotation|attr=global|[[rotation]] {{LSL Param|rot}} ]|content=}} | | |
| {{PPC|{{{1|}}}|PRIM_ROT_LOCAL|const={{#var:rot_local_const}}|value=29|scope=prim|qualifier=rotation|attr=local|[[rotation]] {{LSL Param|rot}} ]|content=}}
| | {{{{#var:PATH}}PRIM_SIZE|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{PPC|{{{1|}}}|PRIM_SIZE|const={{#var:size_const}}|value=7|scope=prim|attr=size|[[vector]] {{LSL Param|size}} ]|content=}} | | {{{{#var:PATH}}PRIM_POSITION|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{PPC|{{{1|}}}|PRIM_TEXTURE|const={{#var:texture_const}}|required=[[integer]] {{LSL Param|face}}|value=17|scope=face|attr=texture|[[string]] {{LSL Param|texture}}, [[vector]] {{LSL Param|repeats}}, [[vector]] {{LSL Param|offsets}}, [[float]] {{LSL Param|rotation_in_radians}} ]|content=}}
| | {{{{#var:PATH}}PRIM_ROTATION|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{PPC|{{{1|}}}|PRIM_TEXT|const={{#var:text_const}}|value=26|scope=prim|attr=floating text|[[string]] {{LSL Param|text}}, [[vector]] {{LSL Param|color}}, [[float]] {{LSL Param|alpha}} ]|content=}} | | {{{{#var:PATH}}PRIM_ROT_LOCAL|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{PPC|{{{1|}}}|PRIM_COLOR|const={{#var:color_const}}|required=[[integer]] {{LSL Param|face}}|value=18|scope=face|attr=color & alpha|[[vector]] {{LSL Param|color}}, [[float]] {{LSL Param|alpha}} ]|content=}} | | |
| {{PPC|{{{1|}}}|PRIM_BUMP_SHINY|const={{#var:bumpshiny_const}}|required=[[integer]] {{LSL Param|face}}|value=19|scope=face|attr=shiny & bump|[[integer]] {{LSL Param|shiny}}, [[integer]] {{LSL Param|bump}} ]|content={{PBR}} | | {{{{#var:PATH}}PRIM_FLEXIBLE|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| <div style="display:inline-block; vertical-align: top;">{{LSL_Constants/PrimitiveParams/bump |{{{1|}}}|style=margin:1px; padding:0;|table=*|sortable=*}}</div>
| | {{{{#var:PATH}}PRIM_POINT_LIGHT|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| <div style="display:inline-block; vertical-align: top;">{{LSL_Constants/PrimitiveParams/shiny|{{{1|}}}|style=margin:1px; padding:0;|table=*|sortable=*}}</div> }}
| | |
| {{PPC|{{{1|}}}|PRIM_POINT_LIGHT|const={{#var:light_const}}|value=23|scope=prim|attr=point light|[[integer]] {{LSL Param|boolean}}, [[vector]] {{LSL Param|color}}, [[float]] {{LSL Param|intensity}}, [[float]] {{LSL Param|radius}}, [[float]] {{LSL Param|falloff}} ]|content=}} | | {{{{#var:PATH}}PRIM_TEXTURE|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{PPC|{{{1|}}}|PRIM_FULLBRIGHT|const={{#var:fullbright_const}}|required=[[integer]] {{LSL Param|face}}|value=20|scope=face|attr=full bright|[[integer]] {{LSL Param|boolean}} ]|content=}}
| | {{{{#var:PATH}}PRIM_TEXGEN|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{PPC|{{{1|}}}|PRIM_FLEXIBLE|const={{#var:flexible_const}}|value=21|scope=prim|attr=flexible|[[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=}} | | {{{{#var:PATH}}PRIM_COLOR|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{PPC|{{{1|}}}|PRIM_TEXGEN|const={{#var:texgen_const}}|required=[[integer]] {{LSL Param|face}}|value=22|scope=face|attr=texture mode|[[integer]] {{HoverText|type|PRIM_TEXGEN_* flag}} ]|content={{PBR}} | | {{{{#var:PATH}}PRIM_GLOW|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{LSL Constants/PrimitiveParams/texgen|{{{1|}}}|style=margin:0 0 0 0; padding:0;|table=*|sortable=*}} }} | | {{{{#var:PATH}}PRIM_FULLBRIGHT|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{PPC|{{{1|}}}|PRIM_GLOW|const={{#var:glow_const}}|required=[[integer]] {{LSL Param|face}}|value=25|scope=face|attr=glow|[[float]] {{LSL Param|intensity}} ]|content=}} | | {{{{#var:PATH}}PRIM_BUMP_SHINY|{{#var:PPC-1}}|{{#var:PPC-2}}}} |
| {{PPC|{{{1|}}}|PRIM_CAST_SHADOWS|const=<s>{{LSL Const|PRIM_CAST_SHADOWS|integer|24}}</s>|value=24|scope=prim|attr=cast shadow|deprecated=*|[[integer]] {{LSL Param|boolean}} ]|content=}} | | |
| {{!}}- | |
| {{#ifeq:{{{1|}}}|get||{{PPC|{{{1|}}}|PRIM_TYPE_LEGACY|prefix=<s>{{LSL Const|PRIM_TYPE_LEGACY|integer|1|nolink=*}}</s>|const={{HoverText|1|There is no PRIM_TYPE_LEGACY keyword!}}|value=1|scope=prim|attr=shape|deprecated=legacy mode|[[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;}}
| |
| {{!}}- {{Hl2}}
| |
| ! 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}}
| |
| {{!}} 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}} ] | |
| {{!}}-
| |
| {{LSL ConstTB|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}} ]
| |
| {{!}}-
| |
| {{LSL ConstTB|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}} ]
| |
| {{!}}-
| |
| {{LSL ConstTB|PRIM_TYPE_SPHERE|integer|3}}
| |
| {{!}} colspan="6" {{!}} [ [[vector]] {{LSL Param|cut}}, [[float]] {{LSL Param|hollow}}, [[vector]] {{LSL Param|cut|dimple}} ] | |
| {{!}}-
| |
| {{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}} ]
| |
| {{!}}-
| |
| {{LSL ConstTB|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}} ]
| |
| {{!}}} }} }}-->
| |
| {{!}}- | | {{!}}- |
| {{!}}}{{#if: | | {{!}}}{{#if: |
Line 114: |
Line 61: |
| }}<noinclude> | | }}<noinclude> |
| {{{{FULLPAGENAME}}|get}} | | {{{{FULLPAGENAME}}|get}} |
| | |
| | {| {{Prettytable}} |
| | |-{{Hl2}} |
| | ! #var |
| | ! value |
| | |- |
| | {{VarPair|ALL_SIDES}} |
| | |- |
| | {{VarPair|p_face_desc}} |
| | |- |
| | {{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> | | </noinclude> |