Skip to content
lsl.devlsl.devLSL Dev

Constants in the PrimType enum.

All constant groups

At a glance, from the LSL definitions
PRIM_TYPE_BOX, integer hole_shape, vector cut, float hollow, vector twist, vector top_size, vector top_shear  // Shape parameter for PRIM_TYPE used to define the prim as a box and configure its shape properties.PRIM_TYPE_CYLINDER, integer hole_shape, vector cut, float hollow, vector twist, vector top_size, vector top_shear  // Shape parameter for PRIM_TYPE used to define the prim as a cylinder and configure its shape properties.PRIM_TYPE_PRISM, integer hole_shape, vector cut, float hollow, vector twist, vector top_size, vector top_shear  // Shape parameter for PRIM_TYPE used to define the prim as a prism and configure its shape properties.PRIM_TYPE_RING, integer hole_shape, vector cut, float hollow, vector twist, vector hole_size, vector top_shear, vector advanced_cut, vector taper, float revolutions, float radius_offset, float skew  // Shape parameter for PRIM_TYPE used to define the prim as a ring and configure its shape properties.PRIM_TYPE_SCULPT, string map, integer type  // Shape parameter for PRIM_TYPE used to define the prim as a sculpted prim (sculpty) or mesh of a specific type.PRIM_TYPE_SPHERE, integer hole_shape, vector cut, float hollow, vector twist, vector dimple  // Shape parameter for PRIM_TYPE used to define the prim as a sphere and configure its shape properties.PRIM_TYPE_TORUS, integer hole_shape, vector cut, float hollow, vector twist, vector hole_size, vector top_shear, vector advanced_cut, vector taper, float revolutions, float radius_offset, float skew  // Shape parameter for PRIM_TYPE used to define the prim as a torus and configure its shape properties.PRIM_TYPE_TUBE, integer hole_shape, vector cut, float hollow, vector twist, vector hole_size, vector top_shear, vector advanced_cut, vector taper, float revolutions, float radius_offset, float skew  // Shape parameter for PRIM_TYPE used to define the prim as a tube and configure its shape properties.

Constants

ConstantTypeValueDescription
PRIM_TYPE_BOXinteger0Shape parameter for PRIM_TYPE used to define the prim as a box and configure its shape properties.
PRIM_TYPE_CYLINDERinteger1Shape parameter for PRIM_TYPE used to define the prim as a cylinder and configure its shape properties.
PRIM_TYPE_PRISMinteger2Shape parameter for PRIM_TYPE used to define the prim as a prism and configure its shape properties.
PRIM_TYPE_RINGinteger6Shape parameter for PRIM_TYPE used to define the prim as a ring and configure its shape properties.
PRIM_TYPE_SCULPTinteger7Shape parameter for PRIM_TYPE used to define the prim as a sculpted prim (sculpty) or mesh of a specific type.
PRIM_TYPE_SPHEREinteger3Shape parameter for PRIM_TYPE used to define the prim as a sphere and configure its shape properties.
PRIM_TYPE_TORUSinteger4Shape parameter for PRIM_TYPE used to define the prim as a torus and configure its shape properties.
PRIM_TYPE_TUBEinteger5Shape parameter for PRIM_TYPE used to define the prim as a tube and configure its shape properties.