# PRIM_RENDER_MATERIAL

*LSL constant*

```lsl
integer PRIM_RENDER_MATERIAL = 49;
```

Prim parameter [PRIM_RENDER_MATERIAL, integer face, string material] to get or set face material settings. Note: Setting this clears most PRIM_GLTF_* properties on the face, except for repeats, offsets, and rotation_in_radians.

Constant groups: [PrimParam](/constants/groups/PrimParam/), [PrimParamGet](/constants/groups/PrimParamGet/)

Used to get or set the material settings of a prim's `face`.

## See also

### Constants

- [CHANGED_RENDER_MATERIAL](/constants/CHANGED_RENDER_MATERIAL/)

### Functions

- [llGetPrimitiveParams](/functions/llGetPrimitiveParams/)
- [llSetRenderMaterial](/functions/llSetRenderMaterial/)
- [llSetLinkRenderMaterial](/functions/llSetLinkRenderMaterial/)

### Events

- [changed](/events/changed/)

---

*Source: [PRIM RENDER MATERIAL](https://wiki.secondlife.com/wiki/PRIM_RENDER_MATERIAL) on the Second Life Wiki. Content from the Second Life Wiki articles PRIM RENDER MATERIAL (revision 1218989, 2026-08-24) and Template:LSL PrimitiveParam Categorize (revision 1180644, 2013-08-09), CC BY-SA 3.0.*

---

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