PrimType
Constants in the PrimType enum.
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
| Constant | Type | Value | Description |
|---|---|---|---|
PRIM_TYPE_BOX | integer | 0 | Shape parameter for PRIM_TYPE used to define the prim as a box and configure its shape properties. |
PRIM_TYPE_CYLINDER | integer | 1 | Shape parameter for PRIM_TYPE used to define the prim as a cylinder and configure its shape properties. |
PRIM_TYPE_PRISM | integer | 2 | Shape parameter for PRIM_TYPE used to define the prim as a prism and configure its shape properties. |
PRIM_TYPE_RING | integer | 6 | Shape parameter for PRIM_TYPE used to define the prim as a ring and configure its shape properties. |
PRIM_TYPE_SCULPT | integer | 7 | 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 | 3 | Shape parameter for PRIM_TYPE used to define the prim as a sphere and configure its shape properties. |
PRIM_TYPE_TORUS | integer | 4 | Shape parameter for PRIM_TYPE used to define the prim as a torus and configure its shape properties. |
PRIM_TYPE_TUBE | integer | 5 | Shape parameter for PRIM_TYPE used to define the prim as a tube and configure its shape properties. |