PRIM_SCULPT_FLAG_INVERT
constant
Constant
integer PRIM_SCULPT_FLAG_INVERT = 64;Constant groups
Other PrimTypeSculptFlag values (2)
PRIM_SCULPT_FLAG_INVERT will cause the sculpted prim to render inside out. It works by inverting the Normal of each polygon that makes up the sculpted prim.
| 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.