Difference between revisions of "PRIM SCULPT TYPE TORUS"
Jump to navigation
Jump to search
(New page: {{#if: {{LSL_Constants/PrimitiveParams}} }}{{LSL Constant |name=PRIM_SCULPT_TYPE_TORUS |type=integer |value=0 |desc=Uses a torus as the basis for a scultpy prim. Does not appear to be supp...) |
m |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{#if: | {{#if: | ||
{{ | {{:PRIM_TYPE_SCULPT|child=*}} | ||
}}{{LSL Constant | }}{{LSL Constant | ||
|name=PRIM_SCULPT_TYPE_TORUS | |name=PRIM_SCULPT_TYPE_TORUS | ||
|type=integer | |type=integer | ||
|value= | |value=2 | ||
|desc= | |desc=When used in conjunction with {{#var:type_sculpt_const}} a torus type sculpty is produced. It does this by stitching the top to bottom and the left side to right. | ||
{{LSL_Constants/PrimitiveParams/sculpt_types|table=*|sortable=*}} | |||
|examples= | |examples= | ||
|constants= | |constants= |
Latest revision as of 08:48, 30 May 2012
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
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. | ||
PRIM_SCULPT_TYPE_MESH | 5 | Mesh model | See: Mesh | ||
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. |
Caveats
Related Articles
Constants
• | PRIM_TYPE | |||
• | PRIM_TYPE_SCULPT |
Functions
• | llSetPrimitiveParams | |||
• | llSetLinkPrimitiveParams | |||
• | llGetPrimitiveParams |
Events
• | changed |