Skip to content
lsl.devlsl.devLSL Dev

PRIM_TEXGEN

constant
Constant
integer PRIM_TEXGEN = 22;

Constant groups

PrimParam · PrimParamGet

Other PrimParam values (42)
Other PrimParamGet values (40)

PRIM_TEXGEN is used to get and set the configure the texture mapping mode of the face.

ConstantTypeValueDescription
PRIM_TEXGEN_DEFAULTinteger0The texture repeats units are in texture repeats per face.
PRIM_TEXGEN_PLANARinteger1The 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.
mode ConstantsDescription
ConstantTypeValueDescription
CHANGED_TEXTURE
Original wiki source

Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.