Skip to content
lsl.devlsl.devLSL Dev

PRIM SCULPT TYPE MASK

Looking for the current API? Open the PRIM_SCULPT_TYPE_MASK reference →

Wiki description

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.
PRIM_SCULPT_FLAG_ZZZZZZZZ integer 63 s=style="display:none;"
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.

See also: constants

See also: functions

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.
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.