Skip to content

PRIM_TEXGEN

constant
Constant
integer PRIM_TEXGEN = 22;
Set with llSetLinkPrimitiveParamsFast
PRIM_TEXGEN, integer face, integer mode
Get with llGetLinkPrimitiveParams, llGetPrimitiveParams
PRIM_TEXGEN, integer face → integer mode
  1. integer face// Values: Faces
  2. integer mode// Values: PrimTexgen
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.1 This is in contrast to the in-world editing tool, in which the planar texture scaling units are repeats per meter.
PRIM_TEXGEN, integer face, integer mode

When used with llSetLinkPrimitiveParamsFast

PRIM_TEXGEN, integer face

When used with llGetLinkPrimitiveParams

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.

  1. Viewer 746d768339: newview/llface.cpp:114-115; newview/llface.cpp:908-910 ↩