Difference between revisions of "PRIM SCULPT TYPE CYLINDER"

From Second Life Wiki
Jump to: navigation, search
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{LSL Constant
+
{{#if:
 +
{{:PRIM_TYPE_SCULPT|child=*}}
 +
}}{{LSL Constant
 
|name=PRIM_SCULPT_TYPE_CYLINDER
 
|name=PRIM_SCULPT_TYPE_CYLINDER
 
|type=integer
 
|type=integer
 
|value=4
 
|value=4
|desc=Uses a cylinder as the basis for a scultpy prim. It does this by stitching the left side to right.
+
|desc=When used in conjunction with {{#var:type_sculpt_const}} a cylinder type sculpty is produced. It does this by stitching the left side to right.
 
{{LSL_Constants/PrimitiveParams/sculpt_types|table=*|sortable=*}}
 
{{LSL_Constants/PrimitiveParams/sculpt_types|table=*|sortable=*}}
 
|examples=
 
|examples=

Latest revision as of 08:57, 30 May 2012

Description

Constant: integer PRIM_SCULPT_TYPE_CYLINDER = 4;

The integer constant PRIM_SCULPT_TYPE_CYLINDER has the value 4

When used in conjunction with PRIM_TYPE_SCULPT a cylinder type sculpty is produced. It does this by stitching the left side to right.

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_A 5 Mesh model See: Mesh
PRIM_SCULPT_FLAG_ZZZZZZZZ 63
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.

Related Articles

Constants

•  PRIM_TYPE
•  PRIM_TYPE_SCULPT

Functions

•  llSetPrimitiveParams
•  llSetLinkPrimitiveParams
•  llGetPrimitiveParams

Events

•  changed

Deep Notes

Search JIRA for related Issues

Signature

integer PRIM_SCULPT_TYPE_CYLINDER = 4;