# PRIM_TEXGEN_PLANAR

*LSL constant*

```lsl
integer PRIM_TEXGEN_PLANAR = 1;
```

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

Used with [PRIM_TEXGEN](/constants/PRIM_TEXGEN/) to set the texture mapping mode, specifically that the texture repeats units are in texture repeats per half meter. This is in contrast to the in-world editing tool, in which the planar texture scaling units are repeats per meter.

## See also

### Constants

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

### Functions

- [llGetPrimitiveParams](/functions/llGetPrimitiveParams/)

### Events

- [changed](/events/changed/)

---

*Source: [PRIM TEXGEN PLANAR](https://wiki.secondlife.com/wiki/PRIM_TEXGEN_PLANAR) on the Second Life Wiki. Content from the Second Life Wiki article PRIM TEXGEN PLANAR (revision 1170134, 2012-07-03), CC BY-SA 3.0.*

---

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