Difference between revisions of "PRIM TEXGEN PLANAR"

From Second Life Wiki
Jump to navigation Jump to search
(New page: {{#if: {{LSL_Constants/PrimitiveParams}} }}{{LSL Constant |name=PRIM_TYPE_TEXGEN_PLANAR |type=integer |value=1 |desc= |examples= |constants= {{LSL ConstRow|PRIM_TEXGEN}} |functions= {{LSL ...)
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#if:
{{LSL Constant
{{LSL_Constants/PrimitiveParams}}
|name=PRIM_TEXGEN_PLANAR
}}{{LSL Constant
|name=PRIM_TYPE_TEXGEN_PLANAR
|type=integer
|type=integer
|value=1
|value=1
|desc=
|desc=Used with [[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.
|examples=
|examples=
|constants=
|constants=

Latest revision as of 10:25, 3 July 2012

Description

Constant: integer PRIM_TEXGEN_PLANAR = 1;

The integer constant PRIM_TEXGEN_PLANAR has the value 1

Used with 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.

Related Articles

Constants

•  PRIM_TEXGEN

Functions

•  llSetPrimitiveParams
•  llSetLinkPrimitiveParams
•  llGetPrimitiveParams

Events

•  changed

Deep Notes

Search JIRA for related Issues

Signature

integer PRIM_TEXGEN_PLANAR = 1;