User:Strife Onizuka/PrimitiveParamsTable: Difference between revisions

From Second Life Wiki
Jump to navigation Jump to search
Strife Onizuka (talk | contribs)
mNo edit summary
Strife Onizuka (talk | contribs)
^_^ now thats what I call simplification :P
Line 10: Line 10:
! 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
{{!}}- valign="top"
{{PPC|[[#PRIM_NAME|PRIM_NAME]]|27|Sets the prim's name.|[&nbsp;{{#var:name_const}}, [[string]]&nbsp;{{LSL Param|name}}&nbsp;]}}
{{!}} [[#PRIM_NAME|PRIM_NAME]]
{{PPC|[[#PRIM_DESC|PRIM_DESC]]|28|Sets the prim's description.|[&nbsp;{{#var:desc_const}}, [[string]]&nbsp;{{LSL Param|description}}&nbsp;]}}
{{!}} 27
{{PPC|[[#PRIM_TYPE|PRIM_TYPE]]|9|Sets the prim's shape.|[&nbsp;{{#var:type_const}}, [[integer]]&nbsp;{{HoverText|flag|PRIM_TYPE_* flag}}&nbsp;]&nbsp;+ {{HoverText|flag_parameters|Additional parameters required by the flag, click [show]}}|content={{PBR}}
{{!}} {{QCC|auto=*|title={{PBR}}
{{{!}} cellpadding="0" cellspacing="0" style="background-color:transparent;" width="100%"
{{!}} Sets the prim's name.
{{!}} style="text-align:right;" {{!}} [&nbsp;{{#var:name_const}}, [[string]]&nbsp;{{LSL Param|name}}&nbsp;]
{{!}}}|content=}}
{{!}}- valign="top"
{{!}} [[#PRIM_DESC|PRIM_DESC]]
{{!}} 28
{{!}} {{QCC|auto=*|title={{PBR}}
{{{!}} cellpadding="0" cellspacing="0" style="background-color:transparent;" width="100%"
{{!}} Sets the prim's description.
{{!}} style="text-align:right;" {{!}} [&nbsp;{{#var:desc_const}}, [[string]]&nbsp;{{LSL Param|description}}&nbsp;]
{{!}}}|content=}}
{{!}}- valign="top"
{{!}} [[#PRIM_TYPE|PRIM_TYPE]]
{{!}} 9
{{!}} {{QCC|auto=*|title={{PBR}}
{{{!}} cellpadding="0" cellspacing="0" style="background-color:transparent;" width="100%"
{{!}} Sets the prim's shape.
{{!}} style="text-align:right;" {{!}} [&nbsp;{{#var:type_const}}, [[integer]]&nbsp;{{HoverText|flag|PRIM_TYPE_* flag}}&nbsp;]&nbsp;+ {{HoverText|flag_parameters|Additional parameters required by the flag, click [show]}}
{{!}}}|content={{PBR}}
{{{!}} {{Prettytable|style=margin:0 0 0 0; padding:0; width:100%;}}
{{{!}} {{Prettytable|style=margin:0 0 0 0; padding:0; width:100%;}}
{{LSL Constants/PrimitiveParams/type|{{{1|}}}}}
{{LSL Constants/PrimitiveParams/type|{{{1|}}}}}
{{!}}} }}
{{!}}} }}
{{!}}-
{{!}}}
{{!}}}

Revision as of 01:37, 15 November 2010

Flag V Description & Usage
27 [ ,
Sets the prim's name. ] -
28 [ ,
Sets the prim's description. ] -
9 [ ,
Sets the prim's shape. ] -

flag Constants Additional Return Values / 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 map, integer type ] Sculpted_Prims:_FAQ
  hole_shape Flags Shape hole_shape Flags Shape
PRIM_HOLE_DEFAULT 0x00 Default PRIM_HOLE_SQUARE 0x20 Square
PRIM_HOLE_CIRCLE 0x10 Circle PRIM_HOLE_TRIANGLE 0x30 Triangle
type Flags Style Description
PRIM_SCULPT_TYPE_SPHERE 1 Sphere Converge top & bottom, stitch left side to right
PRIM_SCULPT_TYPE_TORUS 2 Torus Stitch top to bottom, stitch left side to right
PRIM_SCULPT_TYPE_PLANE 3 Plane No stitching or converging
PRIM_SCULPT_TYPE_CYLINDER 4 Cylinder Stitch left side to right.
PRIM_SCULPT_TYPE_MESH 5 Mesh model See: Mesh
PRIM_SCULPT_FLAG_ZZZZZZZZ 63
PRIM_SCULPT_FLAG_ANIMESH 0x20 Animesh Read-only flag to query Animated mesh status.
PRIM_SCULPT_FLAG_INVERT 0x40 Invert Render inside out (inverts the normals).
PRIM_SCULPT_FLAG_MIRROR 0x80 Mirror Render an X axis mirror of the sculpty.