User:Strife Onizuka/PrimitiveParamsTable: Difference between revisions
Jump to navigation
Jump to search
thinking about having the content flag read from a flag specific dedicated subpage |
No edit summary |
||
Line 1: | Line 1: | ||
{{#if: | {{#if: | ||
<!-- TRM push --> | |||
{{#vardefine:TRMS|{{#var:TRM}}{{#var:TRMS}}}} {{#vardefine:TRM|P}} | |||
{{:PRIM_NAME|{{{1|}}}}} | {{:PRIM_NAME|{{{1|}}}}} | ||
Line 23: | Line 26: | ||
{{:PRIM_FLEXIBLE|{{{1|}}}}} | {{:PRIM_FLEXIBLE|{{{1|}}}}} | ||
{{:PRIM_POINT_LIGHT|{{{1|}}}}} | {{:PRIM_POINT_LIGHT|{{{1|}}}}} | ||
{{LSL_Function/color|color}} | |||
{{LSL_Function/alpha|alpha}} | |||
{{LSL_Function/boolean|boolean}} | |||
{{LSL_Function/face|face|flag|!footer=*|return={{#ifeq:{{{1|get}}}|get|... | |||
:{{{!}}{{Prettytable}} | |||
{{!}}-{{Hl2}} | |||
!{{HoverText|flag|PRIM_* flag}} | |||
!Return if face is invalid | |||
{{!}}- | |||
{{#var:facetable}} | |||
{{!}}- | |||
{{!}}} | |||
}}}} | |||
<!-- TRM restore --> | |||
{{#vardefine:TRM|{{#sub:{{#var:TRMS}}|0|1}}}} {{#vardefine:TRMS|{{#sub:{{#var:TRMS}}|1}}}} | |||
}}{{{!}} class="sortable" width="100%" {{Prettytable|style=margin: 0px 0px 10px 1pt;}} | }}{{{!}} class="sortable" width="100%" {{Prettytable|style=margin: 0px 0px 10px 1pt;}} | ||
Line 28: | Line 48: | ||
! class="sortable" {{!}}Flag | ! 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=" | ! class="unsortable" width="70%" {{!}} Usage | ||
! class="sortable" width="30%" {{!}} Scope | |||
{{!}}- | {{!}}- | ||
{{PPC|[[#PRIM_NAME|PRIM_NAME]]|27| | {{PPC|{{{1|}}}|[[#PRIM_NAME|PRIM_NAME]]|27|scope=prim|attr=name|[ {{#var:name_const}}, [[string]] {{LSL Param|name}} ]}} | ||
{{PPC|[[#PRIM_DESC|PRIM_DESC]]|28| | {{PPC|{{{1|}}}|[[#PRIM_DESC|PRIM_DESC]]|28|scope=prim|attr=description|[ {{#var:desc_const}}, [[string]] {{LSL Param|description}} ]}} | ||
{{PPC| | {{PPC|{{{1|}}}|[[#PRIM_TYPE|PRIM_TYPE]]|9|scope=prim|attr=shape|[ {{#var:type_const}}, [[integer]] {{HoverText|flag|PRIM_TYPE_* flag}} ] + {{HoverText|flag_parameters|Additional parameters required by the flag, click [show]}}|content={{PBR}} | ||
{{{ | {{LSL Constants/PrimitiveParams/type|{{{1|}}}|style=margin:0 0 0 0; padding:0;|table=*|sortable=*}} }} | ||
{{ | {{PPC|{{{1|}}}|[[#PRIM_MATERIAL|PRIM_MATERIAL]]|2|scope=prim|attr=material|[ {{#var:material_const}}, [[integer]] {{HoverText|flag|PRIM_MATERIAL_* flag}} ]|content={{PBR}} | ||
{{LSL Constants/PrimitiveParams/materials|style=margin:0 0 0 0; padding:0;|table=*|sortable=*}} }} | |||
{{PPC|{{{1|}}}|[[#PRIM_PHYSICS|PRIM_PHYSICS]]|3|scope=object|qualifier=status|attr=physics|[ {{#var:physics_const}}, [[integer]] {{LSL Param|boolean}} ]|content=}} | |||
{{ | {{PPC|{{{1|}}}|[[#PRIM_TEMP_ON_REZ|PRIM_TEMP_ON_REZ]]|4|scope=object|qualifier=attribute|attr=temporary|[ {{#var:temponrez_const}}, [[integer]] {{LSL Param|boolean}} ]|content=}} | ||
{{PPC|{{{1|}}}|[[#PRIM_PHANTOM|PRIM_PHANTOM]]|5|scope=object|qualifier=status|attr=phantom|[ {{#var:phantom_const}}, [[integer]] {{LSL Param|boolean}} ]|content=}} | |||
{{ | {{PPC|{{{1|}}}|[[#PRIM_POSITION|PRIM_POSITION]]|6|scope=prim|attr=position|[ {{#var:position_const}}, [[vector]] {{LSL Param|position{{{1|}}}|position}} ]|content=}} | ||
{{PPC|{{{1|}}}|[[#PRIM_ROTATION|PRIM_ROTATION]]|8|scope=prim|qualifier=rotation|attr=global|[ {{#var:rotation_const}}, [[rotation]] {{LSL Param|rot}} ]|content=}} | |||
{{PPC|[[#PRIM_TEMP_ON_REZ|PRIM_TEMP_ON_REZ]]|4| | {{PPC|{{{1|}}}|[[#PRIM_ROT_LOCAL|PRIM_ROT_LOCAL]]|29|scope=prim|qualifier=rotation|attr=local|[ {{#var:rot_local_const}}, [[rotation]] {{LSL Param|rot}} ]|content=}} | ||
{{PPC|[[#PRIM_PHANTOM|PRIM_PHANTOM]]|5| | {{PPC|{{{1|}}}|[[#PRIM_SIZE|PRIM_SIZE]]|7|scope=prim|attr=size|[ {{#var:size_const}}, [[vector]] {{LSL Param|size}} ]|content=}} | ||
{{PPC| | {{PPC|{{{1|}}}|[[#PRIM_TEXTURE|PRIM_TEXTURE]]|17|scope=face|qualifier=attributes|attr=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}} ]|content=}} | ||
{{PPC|[[#PRIM_ROTATION|PRIM_ROTATION]]|8| | {{PPC|{{{1|}}}|[[#PRIM_TEXT|PRIM_TEXT]]|26|scope=prim|attr=floating text|[ {{#var:text_const}}, [[string]] {{LSL Param|text}}, [[vector]] {{LSL Param|color}}, [[float]] {{LSL Param|alpha}} ]|content=}} | ||
{{PPC|[[#PRIM_ROT_LOCAL|PRIM_ROT_LOCAL]]|29| | {{PPC|{{{1|}}}|[[#PRIM_COLOR|PRIM_COLOR]]|18|scope=face|attr=color & alpha|qualifier=attributes|[ {{#var:color_const}}, [[integer]] {{LSL Param|face}}, [[vector]] {{LSL Param|color}}, [[float]] {{LSL Param|alpha}} ]|content=}} | ||
{{PPC|[[#PRIM_SIZE|PRIM_SIZE]]|7| | {{PPC|{{{1|}}}|[[#PRIM_BUMP_SHINY|PRIM_BUMP_SHINY]]|19|scope=face|qualifier=attributes|attr=shiny & bump|[ {{#var:bumpshiny_const}}, [[integer]] {{LSL Param|face}}, [[integer]] {{LSL Param|shiny}}, [[integer]] {{LSL Param|bump}} ]|content={{PBR}} | ||
{{PPC|[[#PRIM_TEXTURE|PRIM_TEXTURE]]|17| | {{LSL_Constants/PrimitiveParams/bumpshiny|style=margin:0 0 0 0; padding:0;|table=*|sortable=*}} }} | ||
{{PPC|[[#PRIM_TEXT|PRIM_TEXT]]|26| | {{PPC|{{{1|}}}|[[#PRIM_POINT_LIGHT|PRIM_POINT_LIGHT]]|23|scope=prim|qualifier=attributes|attr=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_COLOR|PRIM_COLOR]]|18| | {{PPC|{{{1|}}}|[[#PRIM_FULLBRIGHT|PRIM_FULLBRIGHT]]|20|scope=face|qualifier=attribute|attr=full bright|[ {{#var:fullbright_const}}, [[integer]] {{LSL Param|face}}, [[integer]] {{LSL Param|boolean}} ]|content=}} | ||
{{PPC|[[#PRIM_BUMP_SHINY|PRIM_BUMP_SHINY]]|19| | {{PPC|{{{1|}}}|[[#PRIM_FLEXIBLE|PRIM_FLEXIBLE]]|21|scope=prim|qualifier=attributes|attr=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{{{1|}}}||[[#PRIM_TEXGEN|PRIM_TEXGEN]]|22|scope=face|qualifier=attribute|attr=texture mode|[ {{#var:texgen_const}}, [[integer]] {{LSL Param|face}}, [[integer]] {{HoverText|type|PRIM_TEXGEN_* flag}} ]|content={{PBR}} | ||
{{LSL Constants/PrimitiveParams/texgen|style=margin:0 0 0 0; padding:0;|table=*|sortable=*}} }} | |||
{{ | {{PPC|{{{1|}}}|[[#PRIM_GLOW|PRIM_GLOW]]|25|scope=face|qualifier=attribute|attr=glow|[ {{#var:glow_const}}, [[integer]] {{LSL Param|face}}, [[float]] {{LSL Param|intensity}} ]|content=}} | ||
{{PPC|{{{1|}}}|[[#PRIM_CAST_SHADOWS|PRIM_CAST_SHADOWS]]|24|scope=prim|qualifier=attribute|attr=cast shadow|deprecated=*|[ {{LSL Const|PRIM_CAST_SHADOWS|integer|24}}, [[integer]] {{LSL Param|boolean}} ]|content=}} | |||
{{PPC|[[#PRIM_FULLBRIGHT|PRIM_FULLBRIGHT]]|20| | {{PPC{{{1|}}}||[[#PRIM_TYPE_LEGACY|PRIM_TYPE_LEGACY]]|1|scope=prim|attr=shape|deprecated=legacy mode|[ 1, [[integer]] {{HoverText|flag|PRIM_TYPE_* flag}} ] + {{HoverText|flag_parameters|Additional parameters required by the flag, click [show]}}|content={{PBR}} | ||
{{PPC|[[#PRIM_FLEXIBLE|PRIM_FLEXIBLE]]|21| | |||
{{PPC| | |||
{{ | |||
{{ | |||
{{ | |||
{{PPC|[[#PRIM_CAST_SHADOWS|PRIM_CAST_SHADOWS]]|24| | |||
{{PPC|[[#PRIM_TYPE_LEGACY|PRIM_TYPE_LEGACY]]|1| | |||
{{{!}} {{Prettytable|style=margin:0 0 0 0; padding:0;}} | {{{!}} {{Prettytable|style=margin:0 0 0 0; padding:0;}} | ||
{{!}}- {{Hl2}} | |||
! colspan="2" {{!}} {{HoverText|flag|PRIM_TYPE_* flag}} Constants | ! colspan="2" {{!}} {{HoverText|flag|PRIM_TYPE_* flag}} Constants | ||
! colspan="6" id="PRIM_TYPE_LEGACY_flag_parameters"{{!}} Flag Parameters | ! colspan="6" id="PRIM_TYPE_LEGACY_flag_parameters"{{!}} Flag Parameters |
Revision as of 02:28, 16 November 2010
Flag | V | Usage | Scope | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|