# PRIM_SCULPT_FLAG_MIRROR

*LSL constant*

```lsl
integer PRIM_SCULPT_FLAG_MIRROR = 128;
```

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

`PRIM_SCULPT_FLAG_MIRROR` will cause a mirror of the sculpted prim to rendered. The sculpted prim is mirrored over the X axis.

[Sculpted Prims: FAQ](https://wiki.secondlife.com/wiki/Sculpted_Prims:_FAQ)

| Constant | Type | Value | Description |
| --- | --- | --- | --- |
| [PRIM_SCULPT_TYPE_SPHERE](/constants/PRIM_SCULPT_TYPE_SPHERE/) | integer | `1` |  |
| [PRIM_SCULPT_TYPE_TORUS](/constants/PRIM_SCULPT_TYPE_TORUS/) | integer | `2` |  |
| [PRIM_SCULPT_TYPE_PLANE](/constants/PRIM_SCULPT_TYPE_PLANE/) | integer | `3` |  |
| [PRIM_SCULPT_TYPE_CYLINDER](/constants/PRIM_SCULPT_TYPE_CYLINDER/) | integer | `4` |  |
| [PRIM_SCULPT_TYPE_MESH](/constants/PRIM_SCULPT_TYPE_MESH/) | integer | `5` |  |
| [PRIM_SCULPT_FLAG_ZZZZZZZZ](https://wiki.secondlife.com/wiki/PRIM_SCULPT_FLAG_ZZZZZZZZ) | integer | `63` |  |
| [PRIM_SCULPT_FLAG_ANIMESH](/constants/PRIM_SCULPT_FLAG_ANIMESH/) | integer | `hex=0x20` |  |
| [PRIM_SCULPT_FLAG_INVERT](/constants/PRIM_SCULPT_FLAG_INVERT/) | integer | `hex=0x40` |  |
| [PRIM_SCULPT_FLAG_MIRROR](/constants/PRIM_SCULPT_FLAG_MIRROR/) | integer | `hex=0x80` |  |

<table>
	<tr>
		<th>`type` Flags</th>
		<th></th>
		<th>Style</th>
		<th colspan="3">Description</th>
	</tr>
	<tr>
		<td>Sphere</td>
		<td colspan="3">Converge top & bottom, stitch left side to right</td>
	</tr>
	<tr>
		<td>Torus</td>
		<td colspan="3">Stitch top to bottom, stitch left side to right</td>
	</tr>
	<tr>
		<td>Plane</td>
		<td colspan="3">No stitching or converging</td>
	</tr>
	<tr>
		<td>Cylinder</td>
		<td colspan="3">Stitch left side to right.</td>
	</tr>
	<tr>
		<td>[Mesh](https://wiki.secondlife.com/wiki/Mesh) model</td>
		<td colspan="3">See: [Mesh](https://wiki.secondlife.com/wiki/Mesh)</td>
	</tr>
	<tr>
		<td colspan="6"></td>
	</tr>
	<tr>
		<td>Animesh</td>
		<td colspan="3">Read-only flag to query [Animated mesh](https://wiki.secondlife.com/wiki/Animesh_User_Guide) status.</td>
	</tr>
	<tr>
		<td>Invert</td>
		<td colspan="3">Render inside out (inverts the normals).</td>
	</tr>
	<tr>
		<td>Mirror</td>
		<td colspan="3">Render an X axis mirror of the sculpty.</td>
	</tr>
</table>

## History

- SVN:1053 r94734 Branch:trunk Tuesday, 19 August 2008 - PRIM_SCULPT_FLAG\_\* syntax merged into the Trunk. Support for syntax slated for Client 1.21.0
- SVN:758 r91966 Branch:featurettes-5 Thursday, 10 July 2008 - Introduction of PRIM_SCULPT_FLAG\_\* extended syntax.

## See also

### Constants

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

### Functions

- [llGetPrimitiveParams](/functions/llGetPrimitiveParams/)

---

*Source: [PRIM SCULPT FLAG MIRROR](https://wiki.secondlife.com/wiki/PRIM_SCULPT_FLAG_MIRROR) on the Second Life Wiki. Content from the Second Life Wiki articles PRIM SCULPT FLAG MIRROR (revision 1179054, 2013-06-10) and Template:LSL Constants/PrimitiveParams/sculpt types (revision 1215170, 2023-10-26), CC BY-SA 3.0.*

---

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