Difference between revisions of "User:Strife Onizuka/PrimitiveParamsTable"
Jump to navigation
Jump to search
(^_^ now thats what I call simplification :P) |
|||
Line 1: | Line 1: | ||
{{#if: | {{#if: | ||
{{:PRIM_NAME|{{{1|}}}}} | {{:PRIM_NAME|{{{1|}}}}} | ||
{{:PRIM_DESC|{{{1|}}}}} | {{:PRIM_DESC|{{{1|}}}}} | ||
{{: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|}}}}} | |||
}}{{{!}} class="sortable" width="100%" {{Prettytable|style=margin: 0px 0px 10px 1pt;}} | }}{{{!}} class="sortable" width="100%" {{Prettytable|style=margin: 0px 0px 10px 1pt;}} | ||
Line 10: | Line 29: | ||
! 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 | ! class="sortable" width="100%" {{!}}Description & Usage | ||
{{!}}- | |||
{{PPC|[[#PRIM_NAME|PRIM_NAME]]|27|Sets the prim's name.|[ {{#var:name_const}}, [[string]] {{LSL Param|name}} ]}} | {{PPC|[[#PRIM_NAME|PRIM_NAME]]|27|Sets the prim's name.|[ {{#var:name_const}}, [[string]] {{LSL Param|name}} ]}} | ||
{{PPC|[[#PRIM_DESC|PRIM_DESC]]|28|Sets the prim's description.|[ {{#var:desc_const}}, [[string]] {{LSL Param|description}} ]}} | {{PPC|[[#PRIM_DESC|PRIM_DESC]]|28|Sets the prim's description.|[ {{#var:desc_const}}, [[string]] {{LSL Param|description}} ]}} | ||
{{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}} | {{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}} | ||
{{{!}} {{Prettytable|style=margin:0 0 0 0; padding:0 | {{{!}} {{Prettytable|style=margin:0 0 0 0; padding:0;}} | ||
{{LSL Constants/PrimitiveParams/type|{{{1|}}}}} | {{LSL Constants/PrimitiveParams/type|{{{1|}}}}} | ||
{{!}}} }} | |||
{{PPC|[[#PRIM_MATERIAL|PRIM_MATERIAL]]|2|Sets the prim's material.|[ {{#var:material_const}}, [[integer]] {{HoverText|flag|PRIM_MATERIAL_* flag}} ]|content={{PBR}} | |||
{{{!}} {{Prettytable|style=margin:0 0 0 0; padding:0;}} | |||
{{LSL Constants/PrimitiveParams/materials}} | |||
{{!}}} }} | |||
{{PPC|[[#PRIM_PHYSICS|PRIM_PHYSICS]]|3|Sets the object's physics status.|[ {{#var:physics_const}}, [[integer]] {{LSL Param|boolean}} ]|content=}} | |||
{{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=}} | |||
{{PPC|[[#PRIM_PHANTOM|PRIM_PHANTOM]]|5|Sets the object's phantom status.|[ {{#var:phantom_const}}, [[integer]] {{LSL Param|boolean}} ]|content=}} | |||
{{PPC|[[#PRIM_POSITION|PRIM_POSITION]]|6|Sets the prim's position.|[ {{#var:position_const}}, [[vector]] {{LSL Param|position{{{1|}}}|position}} ]|content=}} | |||
{{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=}} | |||
{{PPC|[[#PRIM_SIZE|PRIM_SIZE]]|7|Sets the prim's size.|[ {{#var:size_const}}, [[vector]] {{LSL Param|size}} ]|content=}} | |||
{{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=}} | |||
{{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=}} | |||
{{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=}} | |||
{{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=}} | |||
{{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}} | |||
{{!}} 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}} ] | |||
{{!}}} }} | {{!}}} }} | ||
{{!}}} | {{!}}} |
Revision as of 02:12, 15 November 2010
Flag | V | Description & Usage | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[ , |
|