Skip to content
lsl.devlsl.devLSL Dev

PrimTypeSculptType

Constants in the PrimTypeSculptType enum.

All constant groups

At a glance, from the LSL definitions
integer PRIM_SCULPT_TYPE_CYLINDER = 4;  // Sculpt type option for PRIM_TYPE_SCULPT that stitches the left side to the right to produce a cylinder-shaped sculpted prim.integer PRIM_SCULPT_TYPE_MASK = 7;  // Bitmask used when parsing sculpted prim properties (PRIM_TYPE_SCULPT) from llGetPrimitiveParams to separate the base sculpt type from modifying flags (invert or mirror).integer PRIM_SCULPT_TYPE_MESH = 5;  // Sculpt type option for PRIM_TYPE_SCULPT indicating the object is a uploaded Mesh model.integer PRIM_SCULPT_TYPE_PLANE = 3;  // Sculpt type option for PRIM_TYPE_SCULPT that performs no stitching or converging, producing a flat plane-shaped sculpted prim.integer PRIM_SCULPT_TYPE_SPHERE = 1;  // Sculpt type option for PRIM_TYPE_SCULPT that stitches the left side to the right and separately converges the top and bottom to produce a sphere-shaped sculpted prim.integer PRIM_SCULPT_TYPE_TORUS = 2;  // Sculpt type option for PRIM_TYPE_SCULPT that stitches top-to-bottom and left-to-right to produce a torus-shaped sculpted prim.

Constants

ConstantTypeValueDescription
PRIM_SCULPT_TYPE_CYLINDERinteger4Sculpt type option for PRIM_TYPE_SCULPT that stitches the left side to the right to produce a cylinder-shaped sculpted prim.
PRIM_SCULPT_TYPE_MASKinteger7Bitmask used when parsing sculpted prim properties (PRIM_TYPE_SCULPT) from llGetPrimitiveParams to separate the base sculpt type from modifying flags (invert or mirror).
PRIM_SCULPT_TYPE_MESHinteger5Sculpt type option for PRIM_TYPE_SCULPT indicating the object is a uploaded Mesh model.
PRIM_SCULPT_TYPE_PLANEinteger3Sculpt type option for PRIM_TYPE_SCULPT that performs no stitching or converging, producing a flat plane-shaped sculpted prim.
PRIM_SCULPT_TYPE_SPHEREinteger1Sculpt type option for PRIM_TYPE_SCULPT that stitches the left side to the right and separately converges the top and bottom to produce a sphere-shaped sculpted prim.
PRIM_SCULPT_TYPE_TORUSinteger2Sculpt type option for PRIM_TYPE_SCULPT that stitches top-to-bottom and left-to-right to produce a torus-shaped sculpted prim.