The integer constant PRIM_TEXGEN has the value 22

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

mode ConstantsDescription
PRIM_TEXGEN_DEFAULT0The texture repeats units are in texture repeats per face.
PRIM_TEXGEN_PLANAR1The 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.

Syntax

integer PRIM_TEXGEN = 22;

Usage

[ PRIM_TEXGEN, integer face, integer mode ]

integerfaceface number or ALL_SIDES
integermodePRIM_TEXGEN_* flag

When used with llSetPrimitiveParams, llSetLinkPrimitiveParams & llSetLinkPrimitiveParamsFast

Caveats

[ PRIM_TEXGEN, integer face ]

Returns the list [ integer mode ]

integerfaceface number or ALL_SIDES

integermodePRIM_TEXGEN_* flag

When used with llGetPrimitiveParams & llGetLinkPrimitiveParams

Caveats

See also

Constants

Functions

Events