LlOffsetTexture
From Second Life Wiki
(Redirected from LSL llOffsetTexture)
| LSL Portal | | | Functions | | | Events | | | Types | | | Operators | | | Constants | | | Flow Control | | | Script Library | | | Tutorials |
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
//Offsets the textures on 6 sides float offset; default { state_entry() { integer i; for( i = 1; i < 7; i++ ) { offset = offset + .1; llOffsetTexture( (float)offset, (float)offset, i); } } }
Notes
If you use vector offsetVec = llGetTextureOffset() to get the vector of the current offset, then u = offsetVec.x and v = offsetVec.y

