# PRIM_TYPE_PRISM

*LSL constant*

```lsl
integer PRIM_TYPE_PRISM = 2;
```

Constant groups: [PrimType](/constants/groups/PrimType/)

`PRIM_TYPE_PRISM` is a parameter of [PRIM_TYPE](/constants/PRIM_TYPE/) used to make prim into a prism and to change specific properties that define the shape of that prism.

## Examples

<details open>
<summary>Example 1</summary>

```lsl
llSetPrimitiveParams([PRIM_TYPE,
                        PRIM_TYPE_PRISM,
                            PRIM_HOLE_DEFAULT,  // hole_shape
                            <0.00, 1.0, 0.0>,   // cut
                            0.0,                // hollow
                            <0.0, 0.0, 0.0>,    // twist
                            <1.0, 1.0, 0.0>,    // top_size
                            <0.0, 0.0, 0.0>     // top_Shear
                      ]);
```

</details>

## See also

### Constants

| Constant | Type | Value | Description |
| --- | --- | --- | --- |
| [PRIM_TYPE](/constants/PRIM_TYPE/) |  |  |  |
| [CHANGED_SHAPE](/constants/CHANGED_SHAPE/) |  |  |  |

### Functions

- [llGetPrimitiveParams](/functions/llGetPrimitiveParams/)

### Events

- [changed](/events/changed/)

---

*Source: [PRIM TYPE PRISM](https://wiki.secondlife.com/wiki/PRIM_TYPE_PRISM) on the Second Life Wiki. Content from the Second Life Wiki article PRIM TYPE PRISM (revision 1194699, 2015-01-24), CC BY-SA 3.0.*

---

From lsl.dev: https://lsl.dev/constants/PRIM_TYPE_PRISM/
