LlScaleTexture
From Second Life Wiki
| LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Tutorials |
Contents |
Specification
In the default texture mapping mode the scale units are in texture repeats per face. In the planar texture mapping mode the scale 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.
Caveats
- This function causes the script to sleep for 0.2 seconds.
- The function silently fails if its face value indicates a face that does not exist.
Examples
//Scales the textures on 6 sides float scale; default { state_entry() { integer i; for( i = 1; i < 7; i++ ) { scale = scale + .1; llScaleTexture( (float)scale, (float)scale, i); } } }
This article wasn't helpful for you? Maybe the related article at the LSL Wiki is able to bring enlightenment.

