PRIM SCULPT TYPE TORUS
From Second Life Wiki
| LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Contents |
Description
Constant: integer PRIM_SCULPT_TYPE_TORUS = 2;The integer constant PRIM_SCULPT_TYPE_TORUS has the value 2
When used in conjunction with PRIM_TYPE_SCULPT a torus type sculpty is produced. It does this by stitching the top to bottom and 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. | ||
| 5 | Mesh model | With this subtype, PRIM_TYPE_SCULPT's map parameter is read-only, when read NULL_KEY is returned.In other words this can only be used to determine that a prim is of the mesh subtype. | |||
| PRIM_SCULPT_FLAG_INVERT | 64 | Invert | Render inside out (inverts the normals). | ||
| PRIM_SCULPT_FLAG_MIRROR | 128 | Mirror | Render an X axis mirror of the sculpty. | ||
Related Articles
Constants
| • | PRIM_TYPE | |||
| • | PRIM_TYPE_SCULPT |
Functions
| • | llSetPrimitiveParams | |||
| • | llSetLinkPrimitiveParams | |||
| • | llGetPrimitiveParams |
Events
| • | changed |

