Difference between revisions of "Template:LSL Constants/PrimitiveParams/sculpt types"

From Second Life Wiki
Jump to navigation Jump to search
(Added note that PRIM_SCULPT_FLAG_ANIMESH is read-only)
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#if{{{table|}}}<noinclude>1</noinclude>|{{{!}} {{Prettytable}}}}
{{#if:{{{table|}}}<noinclude>1</noinclude>|
{{!}}- {{#if{{{table}}}|{{Hl2}}}}
{{{!}} {{#if:{{{sortable|}}}<noinclude>1</noinclude>|class="sortable"}} {{Prettytable|style={{{style|}}}}}}}
! colspan="2" {{!}} {{LSL Param|type}}&nbsp;Flags
{{!}}- {{#if:{{{table|}}}<noinclude>1</noinclude>|{{Hl2}}}}
! {{!}} Style
! {{#if:{{{sortable|}}}<noinclude>1</noinclude>||colspan="2"}} {{!}} {{LSL Param|type}}&nbsp;Flags
! colspan="3" {{!}} Description
{{#if:{{{sortable|}}}<noinclude>1</noinclude>|! title="Value" {{!}}}}
! class="unsortable" {{!}} Style
! colspan="3" class="unsortable" {{!}} Description
{{!}}-
{{!}}-
{{LSL ConstTB|PRIM_SCULPT_TYPE_SPHERE|integer|1}}
{{LSL ConstTB|PRIM_SCULPT_TYPE_SPHERE|integer|1}}
Line 19: Line 21:
{{LSL ConstTB|PRIM_SCULPT_TYPE_CYLINDER|integer|4}}
{{LSL ConstTB|PRIM_SCULPT_TYPE_CYLINDER|integer|4}}
{{!!}}Cylinder
{{!!}}Cylinder
{{!}} colspan="3" {{!}} Stitch left side to right, double sided polygons?
{{!}} colspan="3" {{!}} Stitch left side to right.
{{#if{{{table|}}}<noinclude>1</noinclude>|{{!}}} }}
{{!}}-
{{LSL ConstTB|PRIM_SCULPT_TYPE_MESH|integer|5}}
{{!!}}[[Mesh]] model
{{!}} colspan="3" {{!}} See: [[Mesh]]
{{!}}- style="background-color: rgba(0, 0, 0, 0.1);"
{{LSL ConstTB|PRIM_SCULPT_FLAG_ZZZZZZZZ|integer|63|s=style="display:none;"}}
{{!}} colspan="6" {{!}}
{{!}}-
{{LSL ConstTB|PRIM_SCULPT_FLAG_ANIMESH|integer|hex=0x20}}
{{!!}}Animesh
{{!}} colspan="3" {{!}} Read-only flag to query [[Animesh_User_Guide|Animated mesh]] status.
{{!}}-
{{LSL ConstTB|PRIM_SCULPT_FLAG_INVERT|integer|hex=0x40}}
{{!!}}Invert
{{!}} colspan="3" {{!}} Render inside out (inverts the normals).
{{!}}-
{{LSL ConstTB|PRIM_SCULPT_FLAG_MIRROR|integer|hex=0x80}}
{{!!}}Mirror
{{!}} colspan="3" {{!}} Render an X axis mirror of the sculpty.
{{!}}-
{{#if:{{{table|}}}<noinclude>1</noinclude>|{{!}}} }}
<noinclude>
<noinclude>
{|
{| {{Prettytable}}
{{LSL Constants/PrimitiveParams/sculpt types}}
{{LSL_Constants/PrimitiveParams/sculpt_types}}
|}
{| class="sortable" {{Prettytable}}
{{LSL_Constants/PrimitiveParams/sculpt_types|sortable=*}}
|}
|}
{{LSL_Constants/PrimitiveParams/sculpt_types|table=*|sortable=*}}
</noinclude>
</noinclude>

Latest revision as of 10:46, 26 October 2023

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.
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.
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.
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.