PRIM SCULPT FLAG INVERT

From Second Life Wiki
Jump to: navigation, search

Description

Constant: integer PRIM_SCULPT_FLAG_INVERT = 0x40;

The integer constant PRIM_SCULPT_FLAG_INVERT has the value 0x40

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

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_A 5 Mesh model See: Mesh
PRIM_SCULPT_FLAG_ZZZZZZZZ 63
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.

Related Articles

Deep Notes

History

Search JIRA for related Issues

Signature

integer PRIM_SCULPT_FLAG_INVERT = 0x40;