PRIM SCULPT TYPE SPHERE

From Second Life Wiki
Revision as of 14:44, 3 August 2023 by Leviathan Linden (talk | contribs) (Undo revision 1214271 by Leviathan Linden (talk))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

Constant: integer PRIM_SCULPT_TYPE_SPHERE = 1;

The integer constant PRIM_SCULPT_TYPE_SPHERE has the value 1

When used in conjunction with PRIM_TYPE_SCULPT a sphere type sculpty is produced. It does this by stitching the left side to right then separately converging the top & bottom.

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_MESH 5 Mesh model See: Mesh
PRIM_SCULPT_FLAG_ZZZZZZZZ 63
PRIM_SCULPT_FLAG_ANIMESH 0x20 Animesh Read-only flag to query Animated mesh status.
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.

Caveats


Related Articles

Constants

•  PRIM_TYPE
•  PRIM_TYPE_SCULPT

Functions

•  llSetPrimitiveParams
•  llSetLinkPrimitiveParams
•  llGetPrimitiveParams

Events

•  changed

Deep Notes

Search JIRA for related Issues

Signature

integer PRIM_SCULPT_TYPE_SPHERE = 1;