PRIM_SCULPT_TYPE_MASK
constant
Constant
integer PRIM_SCULPT_TYPE_MASK = 7;Constant groups
Other PrimTypeSculptType values (5)
PRIM_SCULPT_TYPE_MASK can be used when parsing the output of llGetPrimitiveParams when dealing with sculpted prims (PRIM_TYPE_SCULPT) to separate the sculpted type from the flags (PRIM_SCULPT_FLAG_INVERT and PRIM_SCULPT_FLAG_MIRROR) that can modify it.
| Constant | Type | Value | Description |
|---|---|---|---|
PRIM_SCULPT_TYPE_SPHERE | integer | 1 | |
PRIM_SCULPT_TYPE_TORUS | integer | 2 | |
PRIM_SCULPT_TYPE_PLANE | integer | 3 | |
PRIM_SCULPT_TYPE_CYLINDER | integer | 4 | |
PRIM_SCULPT_TYPE_MESH | integer | 5 | |
| PRIM_SCULPT_FLAG_ZZZZZZZZ | integer | 63 | |
PRIM_SCULPT_FLAG_ANIMESH | integer | hex=0x20 | |
PRIM_SCULPT_FLAG_INVERT | integer | hex=0x40 | |
PRIM_SCULPT_FLAG_MIRROR | integer | hex=0x80 |
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. | ||||
History
Section titled “History”- SVN:1053 r94734 Branch:trunk Tuesday, 19 August 2008 - PRIM_SCULPT_FLAG_* syntax merged into the Trunk. Support for syntax slated for Client 1.21.0
- SVN:758 r91966 Branch:featurettes-5 Thursday, 10 July 2008 - Introduction of PRIM_SCULPT_FLAG_* extended syntax.
See also
Section titled “See also”Constants
Section titled “Constants”| Constant | Type | Value | Description |
|---|---|---|---|
PRIM_TYPE_SCULPT |
Functions
Section titled “Functions”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.