Skip to content
lsl.devlsl.devLSL Dev

PRIM_SCULPT_FLAG_INVERT

constant
Constant
integer PRIM_SCULPT_FLAG_INVERT = 64;

Constant groups

PrimTypeSculptFlag

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.

Sculpted Prims: FAQ

ConstantTypeValueDescription
PRIM_SCULPT_TYPE_SPHEREinteger1
PRIM_SCULPT_TYPE_TORUSinteger2
PRIM_SCULPT_TYPE_PLANEinteger3
PRIM_SCULPT_TYPE_CYLINDERinteger4
PRIM_SCULPT_TYPE_MESHinteger5
PRIM_SCULPT_FLAG_ZZZZZZZZinteger63
PRIM_SCULPT_FLAG_ANIMESHintegerhex=0x20
PRIM_SCULPT_FLAG_INVERTintegerhex=0x40
PRIM_SCULPT_FLAG_MIRRORintegerhex=0x80
type FlagsStyleDescription
SphereConverge top & bottom, stitch left side to right
TorusStitch top to bottom, stitch left side to right
PlaneNo stitching or converging
CylinderStitch left side to right.
Mesh modelSee: Mesh
AnimeshRead-only flag to query Animated mesh status.
InvertRender inside out (inverts the normals).
MirrorRender an X axis mirror of the sculpty.
  • 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.
ConstantTypeValueDescription
PRIM_TYPE_SCULPT
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.