# PRIM_MATERIAL_RUBBER

*LSL constant*

```lsl
integer PRIM_MATERIAL_RUBBER = 6;
```

Prim material constant: rubber.

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

## See also

### Constants

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

|\}

| Constant | Type | Value | Description |
| --- | --- | --- | --- |
| [PRIM_MATERIAL_STONE](/constants/PRIM_MATERIAL_STONE/) | integer | `0` | stone |
| [PRIM_MATERIAL_METAL](/constants/PRIM_MATERIAL_METAL/) | integer | `1` | metal |
| [PRIM_MATERIAL_GLASS](/constants/PRIM_MATERIAL_GLASS/) | integer | `2` | glass |
| [PRIM_MATERIAL_WOOD](/constants/PRIM_MATERIAL_WOOD/) | integer | `3` | wood |
| [PRIM_MATERIAL_FLESH](/constants/PRIM_MATERIAL_FLESH/) | integer | `4` | flesh |
| [PRIM_MATERIAL_PLASTIC](/constants/PRIM_MATERIAL_PLASTIC/) | integer | `5` | plastic |
| [PRIM_MATERIAL_RUBBER](/constants/PRIM_MATERIAL_RUBBER/) | integer | `6` | rubber |
| [PRIM_MATERIAL_LIGHT](https://wiki.secondlife.com/wiki/PRIM_MATERIAL_LIGHT) | integer | `7` | light, DEPRECATED: Looks the same as \[ PRIM_FULLBRIGHT, ALL_SIDES, TRUE \] |

<table>
	<tr>
		<th>`material` Flags</th>
		<th></th>
		<th colspan="4">Description</th>
		<th colspan="1">[Friction](/constants/FRICTION/)</th>
		<th colspan="1">[Restitution](/constants/RESTITUTION/)</th>
	</tr>
	<tr>
		<td>0.8</td>
		<td>0.4</td>
	</tr>
	<tr>
		<td>0.3</td>
		<td>0.4</td>
	</tr>
	<tr>
		<td>0.2</td>
		<td>0.7</td>
	</tr>
	<tr>
		<td>0.6</td>
		<td>0.5</td>
	</tr>
	<tr>
		<td>0.9</td>
		<td>0.3</td>
	</tr>
	<tr>
		<td>0.4</td>
		<td>0.7</td>
	</tr>
	<tr>
		<td>0.9</td>
		<td>0.9</td>
	</tr>
	<tr>
		<td colspan="6">light, **DEPRECATED**: Looks the same as \[ [PRIM_FULLBRIGHT](/constants/PRIM_FULLBRIGHT/), [ALL_SIDES](/constants/ALL_SIDES/), [TRUE](/constants/TRUE/) \]</td>
		<td>0.6</td>
		<td>0.5</td>
	</tr>
</table>

<table>
</table>

### Functions

- [llGetPrimitiveParams](/functions/llGetPrimitiveParams/)

### Events

- [changed](/events/changed/)

---

*Source: [PRIM MATERIAL RUBBER](https://wiki.secondlife.com/wiki/PRIM_MATERIAL_RUBBER) on the Second Life Wiki. Content from the Second Life Wiki articles PRIM MATERIAL RUBBER (revision 332822, 2009-04-24) and Template:LSL Constants/PrimitiveParams/materials (revision 1171518, 2012-08-08), CC BY-SA 3.0.*

---

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