PRIM_SCULPT_TYPE_CYLINDER
constant
Constant
integer PRIM_SCULPT_TYPE_CYLINDER = 4;Other PrimTypeSculptType values (5)
When used in conjunction with PRIM_TYPE_SCULPT a cylinder type sculpty is produced. It does this by stitching the left side to right.
integer PRIM_SCULPT_TYPE_SPHERE = 1; // Sculpt type option for PRIM_TYPE_SCULPT that stitches the left side to the right and separately converges the top and bottom to produce a sphere-shaped sculpted priminteger PRIM_SCULPT_TYPE_TORUS = 2; // Sculpt type option for PRIM_TYPE_SCULPT that stitches top-to-bottom and left-to-right to produce a torus-shaped sculpted priminteger PRIM_SCULPT_TYPE_PLANE = 3; // Sculpt type option for PRIM_TYPE_SCULPT that performs no stitching or converging, producing a flat plane-shaped sculpted priminteger PRIM_SCULPT_TYPE_CYLINDER = 4; // Sculpt type option for PRIM_TYPE_SCULPT that stitches the left side to the right to produce a cylinder-shaped sculpted priminteger PRIM_SCULPT_TYPE_MESH = 5; // Sculpt type option for PRIM_TYPE_SCULPT indicating the object is a uploaded Mesh modelinteger PRIM_SCULPT_TYPE_MASK = 7; // Bitmask used when parsing sculpted prim properties (PRIM_TYPE_SCULPT) from llGetPrimitiveParams to separate the base sculpt type from modifying flags (invert or mirror)
integer PRIM_SCULPT_FLAG_ANIMESH = 0x0020; // Read-only flag for PRIM_TYPE_SCULPT to query whether the object is an Animated Mesh (Animesh)integer PRIM_SCULPT_FLAG_INVERT = 0x0040; // Flag for PRIM_TYPE_SCULPT to render the sculpted prim inside-out by inverting the normals of each polygoninteger PRIM_SCULPT_FLAG_MIRROR = 0x0080; // Flag for PRIM_TYPE_SCULPT to render a mirror-image of the sculpted prim, mirrored across the X-axis
| type Flags | Style | Description | |||
|---|---|---|---|---|---|
| Sphere | Converge top & bottom, stitch left side to right | ||||
| Torus | Stitch top to bottom, stitch left side to right | ||||
| Plane | No stitching or converging | ||||
| Cylinder | Stitch left side to right. | ||||
| Mesh model | See: Mesh | ||||
| Animesh | Read-only flag to query Animated mesh status. | ||||
| Invert | Render inside out (inverts the normals). | ||||
| Mirror | Render an X axis mirror of the sculpty. | ||||
See also
Section titled “See also”Constants
Section titled “Constants”Functions
Section titled “Functions”Events
Section titled “Events”Original wiki source
Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.